Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

b528d698a23842d9a63d5f4c945abc34

Line Chart with Multiple Lines

0 stars0🌍 Public
VVikas Pathak
Last edited Apr 5, 2020
Created on Apr 4, 2020

This visualization displays a bar chart of population data for eight countries, using horizontal bars to compare values. The chart encodes population on a linear scale along the x-axis and country names on a categorical band scale along the y-axis. Built with D3 v5, it loads data from a CSV file, parses the population column as numbers, and renders SVG rectangles via `scaleLinear` and `scaleBand`. A color legend from a separate module is also included, though the chart itself does not implement multiple lines as its title suggests.

AI-generated description