Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing axes!

Public visualization

Customizing axes!

0 stars1🌍 Public
Aalicjakot
Last edited Apr 14, 2020
Created on Mar 23, 2020

This bar chart displays the population of eight countries in 2020, with countries on the y-axis and population on the x-axis. The visualization uses D3.js v5 to render an SVG, employing a linear scale for population and a band scale for countries. The code customizes the x-axis tick format with a `format` function and removes the y-axis domain and tick lines. Data is loaded from a CSV file, with population values multiplied by 1000. Styling is applied via an external stylesheet.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed