Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed