Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import * as Plot from "https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/+esm";
import { display } from "https://esm.town/v/pomdtr/freeform";
const widths = [
["Val Town", 1024],
["Val Town (after)", 900],
["GitHub", 830],
["Radicle", 723],
["Replicate", 653],
["Glitch", 612],
["GitLab", 842],
["Observable", 640],
].map(([name, width]) => ({ name, width }));
display(
Plot.barX(widths, {
x: "width",
y: "name",
marginLeft: 100,
fill: "name",
}).plot({ height: 400, width }),
);
June 3, 2024