Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars1🌍 Public
SShantanu Tripathi
Last edited Jul 1, 2020
Created on Jun 28, 2020

This horizontal bar chart displays the population of various countries. The visualization uses a linear scale for the population values on the x-axis and a band scale for the countries on the y-axis. The chart is rendered as an SVG using d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom. Data is loaded from a CSV file, with the population values multiplied by 1000 upon parsing.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed