Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Learning CSV

Public visualization

Viewing a saved revision (read-only)

7676eede429f4c06b9ccc99dacdfe510

Learning CSV

0 stars0🌍 Public
SSteven Blevins
Last edited Feb 2, 2020
Created on Jan 31, 2020
Forked from Learning CSV

This example demonstrates how to load and visualize CSV data as horizontal bars using D3 v5. The chart maps each room’s area to a bar width along the x-axis, with room names positioned on the y-axis via a band scale. The code uses `d3.csv` to fetch `data.csv`, parsing the `area` field as a number, then draws SVG rectangles scaled by `d3.scaleLinear` and `d3.scaleBand`. Data includes room names, numbers, areas, and departments from a retail-style layout.

AI-generated description

working with d3