🌍 Public
Viewing a saved revision (read-only)
4d9f95a6de0748f0a57d9a3d2c6b2891
Barchart
This bar chart visualizes the yearly stock prices of XYZ Foods from 2011 to 2020, loaded from a local CSV file. It uses D3 v4 to create an SVG with pink bars, positioning them with a band scale and a linear scale. The chart includes labeled axes with a rotated y-axis title and currency-formatted ticks, plus custom CSS styling.
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.