Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Charts

Public visualization

Viewing a saved revision (read-only)

d709d723ffec4d2ebc0ff993b8cb7552

Bar Charts

0 stars0🌍 Public
Ccodingtywu
Last edited Sep 19, 2022
Created on Sep 18, 2022
Forked from Hello VizHub

This interactive example visualizes the classic Iris dataset using bar charts rendered with D3.js v5. The code loads data from a CSV file, converts the sepal and petal measurements to numbers, and uses `d3.csv` and `d3.scaleLinear` to map values. It draws rectangular SVG elements for each data point with fixed width and height attributes, creating a grid of bars that represent the dataset's samples. The visualization demonstrates basic D3 data binding with `selectAll`, `data`, and `enter` selections.

AI-generated description