Skip to main content
100%

Reusable ScatterPlot of the dataset

✓ Published0🌍 Public
Ttejasviteegala@my.unt.edu
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from HTML Starter

This interactive scatter plot visualizes the relationship between the year and sales figures of various chocolate products, with a focus on Snickers bars, using D3.js. The visualization cycles through four different product categories—Kinder Joy, Twix, Cadbury, and Snickers—updating the y-axis every 3 seconds while maintaining the year on the x-axis. Rendered as an animated SVG, the chart features a clean, dark-themed design with clearly labeled axes and a dynamic title that updates to reflect the currently displayed product. The reusable chart function allows for flexible data binding and transitions, making it easy to adapt to similar datasets.

AI-generated description

Reusable scatterplot has been constructed for the dataset using html,css,d3.js.

MIT Licensed

Similar vizzes