Skip to main content
100%

TP2

✓ Published0🌍 Public
SSeegson
Last edited Oct 3, 2022
Created on Sep 26, 2022
Forked from TP1_2

This example visualizes sales data from a CSV file using a bar chart rendered as SVG. It shows individual product IDs on the x-axis and their corresponding sales figures on the y-axis, with purple bars and axis labels. The visualization is built with D3 v5, using `csv`, `scaleBand`, `scaleLinear`, `axisLeft`, and `axisBottom` to load the data and construct the chart. A tooltip appears on mouseover, displaying the sales value for each bar.

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