🌍 Public
Cars Scatter Plot
This scatter plot displays the populations of the top 10 most populous countries, with each country positioned along a point scale and each population value mapped to a linear scale. The visualization uses D3 v7’s `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` APIs to load the data and render circles in an SVG. Tick lines extend across the chart, and axis labels use a custom format that abbreviates numbers. The margin-based layout positions a title and axis labels within a fixed 960x500 viewport.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
This bar chart shows population of the top 20 most populous countries
MIT Licensed
Comments
Sign in to join the discussion.