Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart (Outtake)

Public visualization

Making a Bar Chart (Outtake)

0 stars4🌍 Public
CCurran Kelleher
Last edited Oct 5, 2018
Created on Aug 29, 2018
Forked from Face in d3

This bar chart shows the population of each continent as horizontal bars, with text labels above each. The data is parsed from a CSV string containing population figures and world population percentages. The visualization uses d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.format for number formatting. It renders as SVG rectangles and text elements, with the chart drawn on a single SVG canvas using data from Wikipedia's list of continents by population.

AI-generated description

This bar chart shows the population of each continent. The data comes from Wikipedia: List of continents by population.

Comments

Sign in to join the discussion.

MIT Licensed