Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Viewing a saved revision (read-only)

36e9b5ac124b4924ae12acac5e1c3f05

Bar chart

0 stars0🌍 Public
Wwei
Last edited Sep 16, 2022
Created on Sep 16, 2022
Forked from Hello VizHub

This bar chart visualizes the sepal lengths of 150 iris flowers, with each bar representing one sample and colored a uniform steel blue. Values are plotted along a linear x-axis, while the y-axis categorizes flowers by species class. The chart is rendered as an SVG using D3 v6, and the code relies on `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` to construct the axes and bars. Data is loaded from a local `data.csv` file.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.