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)

44adb1d8564a45b7a47846d316c794c1

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

https://www.neilsberg.com/insights/cohasset-ma-population-by-year/ I found this dataset by searching https://datasetsearch.research.google.com

It shows the population of the town Cohasset MA each year and how much it changes by.