Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

cbfd0b33da034d47a23ff767a5c88be3

Fork of HTML Starter

0 stars0🌍 Public
Nnithinreddypinikesi@my.unt.edu
Last edited Mar 7, 2026
Created on Mar 7, 2026
Forked from HTML Starter

This scatter plot visualizes the relationship between population in 2025 and GDP per capita for various countries. Each circle represents a country, with its horizontal position determined by population and vertical position by GDP per capita. The visualization uses D3 v7 to load CSV data from a GitHub gist, applies linear scales for both axes, and renders SVG circles with axis labels and a legend. The code demonstrates `d3.csv`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for data binding and chart construction.

AI-generated description