Skip to main content
100%

Fork of Activity6-Q3.6

✓ Published0🌍 Public
Ssriyaalugupalli@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Activity6-Q3.6

This D3.js (v7) scatter plot visualizes population data over time, with each circle representing a country-year observation. The plot distinguishes USA data points in blue from other countries in orange, using year on the x-axis and population on the y-axis. The code loads CSV data from a GitHub repository, converts numeric fields, applies linear scales via `d3.scaleLinear`, and renders axes with `d3.axisBottom` and `d3.axisLeft`. Circle positions are set using the scaled x and y coordinates, with point radius fixed at 5 pixels. The SVG output automatically sizes to the browser window dimensions.

AI-generated description
MIT Licensed

Similar vizzes