Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

1

Public visualization

1

0 stars0🌍 Public
Sspandhanabadekol
Last edited Mar 7, 2022
Created on Mar 7, 2022

This visualization shows a horizontal bar chart comparing the top 10 most populous countries, with each bar representing a country's population. The chart uses D3.js v5 within a React framework, reading data from a CSV file and rendering the result as an SVG. The code uses D3's scaleBand for the categorical y-axis, scaleLinear for the numeric x-axis, and the csv function to load the data.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed