🌍 Public
Viewing a saved revision (read-only)
725801911bfc48b2b745a17d7ee401d5
JC-Task9&10-Q2
This example displays an area chart of the top 10 companies by market capitalization, using a light blue filled path to visualize values in billions. The visualization loads CSV data from a GitHub gist and renders it as SVG, drawing axes with D3's `scaleBand`, `scaleLinear`, `axisBottom`, `axisLeft`, and generating the area shape with the `area` generator. The code imports these modules via ES6 `import` statements from D3 v5, demonstrating local module usage and data parsing through a custom `parseRow` function.
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.