Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of barchart4

Public visualization

Viewing a saved revision (read-only)

0834102324bb402fa34adbef41d83091

Fork of Fork of barchart4

0 stars0🌍 Public
Llimeroc
Last edited May 18, 2021
Created on May 18, 2021
Forked from Fork of barchart4

This horizontal bar chart displays the heights of six products from a CSV file, with D3.js rendering SVG bars. The visualization supports interactive features: clicking an alert on a bar and hovering over a bar generates a tooltip, both showing the product name and height. The code uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart. A `csv()` call loads the data, and configuration options in `chartJson` control labels, grid lines, and events.

AI-generated description

This is a sample Bar Pie chart. This will be later exported to angular.