Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lab01

Public visualization

Viewing a saved revision (read-only)

870eda63a41a46bb9c31825e391eb8b4

Lab01

0 stars0🌍 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