🌍 Public
Viewing a saved revision (read-only)
0d947ccf64e74eaeaf660db0f0242fa8
P2 - Task 1-2
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 descriptionA bare minimum HTML page.
See also React Starter.