🌍 Public
Viewing a saved revision (read-only)
2692f50799984b3097a145fbcee8816e
Sean Thornton Population of Cohasset Scatter Plot with React & D3
This visualization displays the population of Cohasset, Massachusetts from 2000 to 2023, sourced from Neil S. Berg’s dataset. It uses a line chart with circle markers to highlight yearly population values, revealing a significant rise in 2011 and a drop in 2020 likely due to COVID. Built with React, it employs D3 v7’s `scaleLinear`, `line`, `axisBottom`, and `axisLeft` to render scales, axes, and the line. The data is loaded from a CSV file and formatted by `d3.csv` before being passed to the custom `viz` function.
AI-generated description