Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JC-Task9&10-Q2

Public visualization

Viewing a saved revision (read-only)

e6e89bf76f3542ad805506e4e33827dd

JC-Task9&10-Q2

0 stars1🌍 Public
JJames Cruz
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.