Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Vibecoding Starter

Public visualization

Viewing a saved revision (read-only)

be4b5beb48dd489b94a0403eed2be3c1

Fork of React & D3 Vibecoding Starter

0 stars2🌍 Public
NNita
Last edited Aug 5, 2025
Created on Aug 5, 2025

A dashboard displays the top 25 New York counties by value for a selected year, shown as horizontal dot plot bars. Users switch between 2012–2015 data via clickable year buttons, and clicking a dot highlights that county. The React app uses D3 v7’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render the chart, while a `ResizeObserver` tracks container dimensions. Data loads from a CSV file and updates reactively through `useEffect` hooks.

AI-generated description