Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js I do

Public visualization

D3.js I do

0 stars0🌍 Public
Aalobry
Last edited Dec 15, 2020
Created on Dec 15, 2020

This example shows a bar chart of national populations for the top 13 countries, with the data sourced from a CSV file. The SVG rendering uses D3.js v6, employing `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the numeric y-axis, while the bars are drawn as rectangles. The code also includes labeled axes and rotated x-axis tick labels to accommodate country names.

AI-generated description

Histogram from CSV file Data comes from https://population.un.org/wpp/Download/Standard/Population/

Comments

Sign in to join the discussion.

MIT Licensed