Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ASS2_2

Public visualization

Viewing a saved revision (read-only)

a014eadeb2e24d3a8067f2abca9cc785

ASS2_2

0 stars0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Activity-6

This area chart visualizes the Highway MPG for different car makes, using a dataset loaded from a CSV file hosted on GitHub. Built with D3.js v7 and rendered as an SVG, the chart employs `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.area` to generate the filled area path. The x-axis labels are rotated for readability, and axes are created using `d3.axisBottom` and `d3.axisLeft`.

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.