Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sean Thornton Population of Cohasset Scatter Plot with React & D3

Public visualization

Viewing a saved revision (read-only)

097223dbfb3a4bcf8b0384e039d92aff

Sean Thornton Population of Cohasset Scatter Plot with React & D3

0 stars1🌍 Public
SSean Thornton
Last edited Sep 17, 2025
Created on Sep 10, 2025

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