Skip to main content
100%

Bar chart

✓ Published0🌍 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.
MIT Licensed

Similar vizzes