Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates D3.js version 5 charting within a minimal VizHub template, rendering a time-series line chart of stock data loaded via CSV. It shows the construction of an SVG visualization with time-scaled x-axis and linear y-axis, using `d3.svg.axis` for tick marks and `d3.svg.line` for the data path. The code imports D3 functions via UNPKG and local ES6 modules, with the chart styled through inline CSS. The data is parsed with `d3.time.format` and scaled with `d3.time.scale` and `d3.scale.linear`.
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