Skip to main content
100%

Untitled

✓ Published0🌍 Public
Hhollyjpotter
Last edited Apr 7, 2022
Created on Apr 7, 2022
Forked from Bar Chart

This example shows the diameters of planets in kilometers, with each planet represented as a dot on an SVG scatterplot rather than a bar chart. The x-axis maps planet names using `d3.scaleBand`, while the y-axis uses `d3.scaleLinear` for diameter values. Data is loaded from a CSV via `d3.csv`, and circles are appended to a group container with an explicit transform offset. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, and the visualization is built entirely with D3 v7 and SVG, drawing from a dataset of planet measurements.

AI-generated description

States with Stamen employees as of January 2022

MIT Licensed

Similar vizzes