Skip to main content
100%

Activity7_task2

✓ Published0🌍 Public
MMili Patel
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This example visualizes car sales data with two charts. The first is an area chart of selling price over time, using a time-based x-axis and a linear y-axis. The second is a smoothed line chart showing the average selling price aggregated by 10,000-mile odometer intervals. Both charts are rendered as SVG using D3’s `select`, `scaleTime`, `scaleLinear`, `area`, `line`, `curveBasis`, and `mean` APIs. The data is loaded from a remote CSV file.

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