Bar Chart on VizHub
✓ Published0🌍 Public
This example displays a grouped bar chart comparing miles per gallon (mpg) and attributes across car makes, using data fetched from a CSV hosted on GitHub Gist. The visualization is rendered as SVG via D3 v6, with scales and axes built through `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. It also demonstrates importing modules from D3 and local ES6 modules, though the main chart logic in index.html and main.js handles the data parsing with `d3.csvParse` and asynchronous fetch.
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