Fork of Scatter Plot Using Different Data Set
✓ Published0🌍 Public
This scatter plot visualizes the relationship between state-level values for the years 2020 and 2024, with each circle representing a state. The chart compares economic or demographic metrics across these two time points, revealing correlations or shifts over the period. Built with D3 v6, the visualization uses reusable module patterns via `scatterPlot.js`, employing `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` for scales and axes. Data is loaded from a CSV file using `d3.csv` and parsed with a custom `parseRow` function, then rendered as SVG circles with steelblue fill and 0.7 opacity. The example demonstrates a modular, data-driven approach to scatter plot construction.
AI-generated descriptionMIT Licensed