Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualization with D3

Public visualization

Data Visualization with D3

0 stars0🌍 Public
Kkaschifs
Last edited Feb 26, 2020
Created on Feb 26, 2020

A horizontal bar chart displays population values for a list of countries. The chart loads data from a local CSV file, converting the population strings to numbers. Using D3.js v5, the code applies `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, rendering blue rectangles via SVG. Axes are added with `d3.axisLeft` and `d3.axisBottom`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed