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