Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Fork of Fork to pie chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of Fork of Fork to pie chart

0
Ssatishnarne99@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This example visualizes the distribution of discussion topics in a school-related CSV file as a doughnut chart. It shows the percentage of occurrences for categories like quiz, homework, exam, and lecture recording, highlighting which topics are most frequently mentioned. The code fetches CSV data via the Fetch API, parses it with JavaScript string methods, and counts keyword matches before converting counts to percentages. It renders the chart using Chart.js from a CDN, drawing the doughnut visualization on an HTML canvas element with distinct color schemes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed