Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3JS bar chart

Public visualization

Viewing a saved revision (read-only)

97ae6c66651a4accb976f8d22dacca59

D3JS bar chart

0 stars2🌍 Public
FFedor Sharygin
Last edited Mar 4, 2021
Created on Feb 28, 2021

This D3.js bar chart displays population figures for ten countries, ordered alphabetically along the vertical axis with horizontal bars scaled by population. It uses `d3.csv` to load the data, `d3.scaleLinear` and `d3.scaleBand` for positioning, and `d3.axisLeft` and `d3.axisBottom` to render the axes. The SVG chart appends rectangles with heights based on band width and fills them with steelblue.

AI-generated description