Skip to main content
100%

Testing Ben Scatterplot

✓ Published0🌍 Public
FFremont
Last edited May 1, 2024
Created on May 1, 2024

This example shows a scatterplot of global country data, plotting birth rate against calling code, with the size of each circle encoding infant mortality. The visualization uses D3.js v6 to load CSV data from a GitHub repository, create linear scales for both axes, and render the SVG circles. Interactive mouseenter events log individual data points to the console, allowing inspection of specific country records. The chart relies on d3.csv for data loading, d3.scaleLinear for axis scaling, and d3.axisBottom and d3.axisLeft for generating the axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes