plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
className should be optional and have no default value, so you have to decide what names you want to use and there are no implicit classes Related: #253 #6 #126...
Note: the scale’s label is not shown for swatches, since most of the time it is obvious from the context. But it can be nice to write Plot.legend(…, label:"Industry"):
Axes could be created as marks, like grids would be after #992. This would address #6, #926, #976, and #148.
note that we avoid showing the label and the grid twice closes #148
E.g., below the hexbins are drawn on top of the axis, but I’d rather the axis be drawn on top 
Often it’s desirable for a text label to have a strong contrast against its background. If the background color is constant (e.g., white in the empty space of the chart),...
Sometimes we want a mark to happen in the first facet (say, a guiding annotation). Currently this can be done by making that mark's data "align" with the original data...
https://observablehq.com/@observablehq/plot-heatmap-984 see comment in https://observablehq.com/@observablehq/javascript-replacements-for-python-data-science-tools#comment-7873045d922f909f