Bar chart
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed