My bar chart
✓ Published0🌍 Public
This bar chart visualizes the distribution of traveler counts across four travel classes: Economy, Business, First Class, and Private, with values of 100, 50, 20, and 3 respectively. The chart uses Chart.js version 2.9.4 and renders to an HTML canvas element. The data is hardcoded as arrays in the script, with the chart configured to display a title describing the dataset as "World Wine Production 2018," though the labels suggest travel categories. The legend is hidden, and the chart is styled responsively with a maximum width of 600 pixels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed