🌍 Public
Viewing a saved revision (read-only)
b8acec04957544eda8806750a12c973e
Pie chart-ICE7
This pie chart displays the number of visitors to various tourist places in 2019, with each slice labeled by the destination’s name and state, and a legend positioned to the right. It uses Chart.js to render the chart on a Canvas element, pulling comma-separated data from a remote gist via `fetch()`. The code assigns random semi-transparent background colors to each slice and customizes tooltips to show both the raw visitor count and its percentage of the total, while the chart itself is configured with `responsive: false` and a fixed canvas size.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.