Skip to main content
100%

My bar chart

✓ Published0🌍 Public
Ssaipaidipalli
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from D3 Starter

This example shows a stacked bar chart comparing the counts of four travel classes: Economy, Business, FirstClass, and Private, with a title labeling the data as “World Wine Production 2018.” The chart is rendered on a canvas element using the Chart.js library, with its `Chart` constructor configuring the chart type as `stacked` and providing the data arrays for labels and values. The visualization sets the legend to hidden and displays only the title, using the canvas’s default styling for a simple, single-dataset presentation.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes