Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task8.1

Public visualization

Viewing a saved revision (read-only)

7958222f7ed544a1bde6e783491b51e9

task8.1

0 stars0🌍 Public
Ssaibharath7thota@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

This example visualizes car auction data by displaying the average selling price for each vehicle make as a bar chart. The dataset is loaded from a remote CSV file and parsed using `d3.csvParse`. The visualization uses D3 v6 to construct an SVG with `scaleBand` for the categorical x-axis and `scaleLinear` for the price y-axis, rendering light blue rectangles for each make. The code also adds rotated x-axis labels and descriptive axis titles for "Make" and "Selling Price."

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.