Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Simple bar chart with custom axes

Public visualization

Simple bar chart with custom axes

0 stars1🌍 Public
RRodolfo Viana
Last edited Dec 29, 2020
Created on Dec 27, 2020
Forked from Simple bar chart

A simple bar chart displays the ten most populous countries using population data from a CSV file, with country names on the y-axis and population values on the x-axis. The chart uses custom axes that convert large numbers from the d3.format('.3s') format (such as G for billions) to B for billions, and removes the default axis domain lines. Built with d3.csv, scaleLinear, scaleBand, axisLeft, and axisBottom, the visualization renders red bars in an SVG element with a Roboto Mono font and a title in Portuguese.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed