Skip to main content
100%

P2 - Task 1-2

✓ Published0🌍 Public
EEthan Tam
Last edited Feb 8, 2020
Created on Feb 8, 2020
Forked from HTML Starter

This visualization shows a scatterplot of GDP per capita against life expectancy for the top 50 most populous countries in 2002, with circle size encoding population. The code uses D3.js and React, rendering SVG elements via a custom Scatterplot class. Data loads from a CSV file using `d3.csv`, and the chart uses `d3.scaleLinear` for x, y, and radius scales, with axes generated by `d3.axisBottom` and `d3.axisLeft`. A year slider is present in the HTML but is not yet connected to data updates.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes