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
Hhairibung
Last edited Mar 10, 2020
Created on Mar 9, 2020

A horizontal bar chart displays population estimates for nine countries, sorted by descending population size, with country names on the y-axis and population counts on the x-axis. The visualization uses d3.csv to load the data and d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to construct the scales and axes. Rectangles are appended to an SVG group, positioned and sized with the scales, and styled with a steelblue fill. The page also embeds a YouTube tutorial that explains the chart's creation.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed