Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Barchart

Public visualization

Viewing a saved revision (read-only)

4d9f95a6de0748f0a57d9a3d2c6b2891

Barchart

0 stars0🌍 Public
SSwapna1915
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Untitled

This bar chart visualizes the yearly stock prices of XYZ Foods from 2011 to 2020, loaded from a local CSV file. It uses D3 v4 to create an SVG with pink bars, positioning them with a band scale and a linear scale. The chart includes labeled axes with a rotated y-axis title and currency-formatted ticks, plus custom CSS styling.

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.