Skip to main content
100%

Fork of D3 scatterplot

✓ Published0🌍 Public
Ssrividyamadas@gmail.com
Last edited Mar 28, 2024
Created on Mar 27, 2024
Forked from D3 scatterplot

This example presents three pie charts showing tourist visitor numbers for 2019, 2020, and 2021, with each chart displaying the distribution of visitors across different tourist places. It uses Chart.js to render the charts onto canvas elements, fetching the dataset from a remote text file and parsing the comma-separated values to extract yearly visitor counts. The code creates a separate chart for each year, assigning random background colors to each slice and placing the legend on the right side. The visualization highlights the relative popularity of tourist destinations across the three years.

AI-generated description
MIT Licensed

Similar vizzes