🌍 Public
Viewing a saved revision (read-only)
c2fac2b09e96497b974224ce058047e5
piechart
This pie chart shows the distribution of Hubway bike-share stations across municipalities, using a color-coded SVG with a legend to identify each category. The chart is built with D3 v7, loading tab-separated station data via `d3.tsv` and aggregating counts with `d3.rollup`. It renders slices using `d3.pie` and `d3.arc`, with colors assigned through a `d3.scaleOrdinal` based on the `schemeSet2` palette. A legend is manually appended as SVG rectangles and text, and the visualization also includes placeholder X and Y axis labels.
AI-generated description