Fork of AkshithaRapala - Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
Rrohithannadurai@my.unt.edu
Last edited Mar 28, 2024
Created on Mar 28, 2024
This example presents an animated scatter plot that visualizes a fictional movie dataset, mapping budget and revenue for a selection of films. The implementation is built using D3.js v7, where circles are rendered through SVG elements and positioned using linear scales. The code also includes a fork that displays the Palmer Penguins dataset, cycling through different measurement columns on the x-axis every two seconds using `setInterval`. The reusable chart pattern, inspired by Bostock’s approach, is demonstrated through a function that accepts data, attribute names, and a container ID to generate the visualization.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed