🌍 Public
Viewing a saved revision (read-only)
c6037c97f0eb4e3f936bba3b6822238b
Population of Towns on the South Shore Of MA
SSean Thornton
Last edited Oct 1, 2025
Created on Sep 24, 2025
This visualization shows how the populations of eight Massachusetts South Shore towns changed from 2000 to 2023, drawing on CSV data that includes yearly population figures and year-over-year changes. It displays multiple lines on a single chart, with each town color-coded and matched to a legend below, making it easy to compare trends like Weymouth’s sharp increase or Hull’s relative stability. The chart uses React to manage state and D3 v7’s `scaleLinear`, `line`, `axisBottom`, and `axisLeft` APIs to build the axes and plot the curves. Population values are formatted with commas via `tickFormat` and `toLocaleString`.
AI-generated description