ScatterPlot
✓ Published0🌍 Public
This scatter plot displays the populations of the top ten countries, using horizontal bars where each bar’s length corresponds to population size, with country names on the vertical axis. The visualization is rendered as an SVG using React and D3 v7, reading from a CSV file. The code applies a linear scale for population values, a band scale for countries, and custom axes with formatted tick labels that abbreviate large numbers.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed