Skip to main content
100%

Learning CSV

✓ Published0🌍 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

MIT Licensed

Similar vizzes