Skip to main content
100%

Fork of Fork of barchart4

✓ Published0🌍 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.

MIT Licensed

Similar vizzes