Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars1🌍 Public
LLikhitaMudagereShivaraj@my.unt.edu
Last edited Oct 26, 2025
Created on Oct 18, 2025
Forked from D3 Starter

A scatter plot displays the relationship between GDP and life expectancy across approximately 110 countries, with points colored by world region. The D3.js v7 code loads data from a CSV file using `d3.csv`, applies linear scales for both axes via `scaleLinear`, and maps each data point to a circle using `d3.selectAll` and `.join`. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, while a categorical color scale using `d3.scaleOrdinal` and `schemeTableau10` distinguishes geographic regions. The visualization is drawn as SVG elements within a container.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed