🌍 Public
Viewing a saved revision (read-only)
0f6b455ec7ca4b6ba58e63aac4a9f97c
Fork of Fork of Create a face with d3.js!
This example visualizes the win records of multiple sports teams over a series of years, with each team represented by a separate colored line. The chart uses D3.js v7 to load CSV data from a remote Gist and render an SVG line chart with axes, labels, and a legend. The code specifically uses `d3.csv` with `d3.autoType` for data parsing, `d3.scaleLinear` and `d3.scaleOrdinal` for scales, `d3.line` for path generation, and `d3.axisBottom`/`d3.axisLeft` for the axes, with `d3.schemeCategory10` providing the line colors.
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.