Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars1🌍 Public
KKazushige Okuma
Last edited Sep 22, 2019
Created on Sep 21, 2019
Forked from Custermizing Axes

This scatter plot displays the populations of the ten most populous countries, with each country positioned along the y-axis and its population on the x-axis. The visualization uses d3.csv to load the data, then applies d3.scaleLinear for the population axis and d3.scalePoint for the categorical country axis. D3’s axisBottom and axisLeft generate the gridlines and tick labels, with custom tick formatting converting values to abbreviated units. The chart renders as SVG circles styled with steelblue fill, and includes a title and axis label.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed