Prjct
✓ Published1🌍 Public
This example presents four coordinated visualizations of order data, including a bar chart of order counts by state, a line chart of total sales over time, and a histogram of order totals. It uses D3.js v7 to load a CSV file from GitHub and render the charts as SVGs. The code employs D3's `rollup` function for grouping and aggregation, `scaleBand`, `scaleLinear`, and `scaleTime` for axes, and `bin` for histogram creation, with interactive hover effects applied to bars.
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