🌍 Public
Viewing a saved revision (read-only)
2828a0f5a31f4b628676f4f353998aac
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