Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Ssravaniboggaram
Last edited May 25, 2021
Created on May 25, 2021
Forked from Customizing Axes

This scatter plot displays the top 10 most populous countries, mapping population size on the x-axis and country names on the y-axis. The visualization uses D3 v6 with React, rendering circles in an SVG. It employs d3.scaleLinear for the x-scale, d3.scalePoint for the y-scale, and d3.axisLeft and d3.axisBottom for axes. Data is loaded from a CSV file using d3.csv, with population values multiplied by 1000. Custom tick formatting converts large numbers to abbreviated forms, and grid lines extend across the chart.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes