Skip to main content
100%

TASK 9

✓ Published0🌍 Public
Kkeerthi.yanala104@gmail.com
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Hello VizHub

This area chart shows the distance covered by pre-owned cars across model years, using a steelblue filled path with labeled axes and a title. Built with D3 v7, the visualization loads CSV data from a GitHub repository, parses the distance values, and renders the chart as an SVG. The code uses `d3.area()`, `d3.scaleLinear()`, `d3.extent()`, and `d3.max()` to compute the scales and generate the path, with `d3.axisBottom()` and `d3.axisLeft()` adding the axes.

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.
MIT Licensed

Similar vizzes