🌍 Public
Viewing a saved revision (read-only)
54c7b9603d0f4b288b88cb81f43c8dcc
Car Scatter Plot
This example displays the top 10 most populous countries as a scatter plot, with circles positioned along a linear population scale on the x-axis and a point scale for country names on the y-axis. The visualization loads data from a CSV file and renders it as SVG using D3 v5’s `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` APIs. The code transforms raw population numbers by multiplying them by 1000 and formats tick labels using D3’s `format` function.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.