Skip to main content
100%

Lab01

✓ Published0🌍 Public
Jjeffchengtw
Last edited Sep 28, 2022
Created on Sep 27, 2022
Forked from React & D3 Starter

This example visualizes the Iris dataset as a bar chart, mapping categorical plant species along the y-axis against numeric values from a simplified test CSV file. The SVG rendering uses D3 v7’s scaleLinear and scaleBand to position bars, with axisLeft providing the categorical labels. Data is loaded asynchronously via d3.csv, and the chart’s dimensions are derived directly from the SVG element’s width and height attributes.

AI-generated description
MIT Licensed

Similar vizzes