Skip to main content
100%

Scatter Plot with D3.js

✓ Published1🌍 Public
Ssiddharth171
Last edited Jul 23, 2020
Created on Jul 23, 2020

This scatter plot visualizes the top 10 most populous countries, with each circle’s horizontal position encoding population count and vertical position indicating country name. The chart uses a linear scale for population and a point scale for countries, with grid lines extending across the plot. Built with D3.js (v5), the code loads data from a CSV file, formats axis tick labels using `format('.3s')`, and renders the visualization as SVG elements. The title and axis labels are styled through CSS, and the axes are customized using `axisBottom` and `axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes