Skip to main content
100%

Retail Visitors Rate in the Pandemic

✓ Published0🌍 Public
Iillyyo
Last edited Feb 10, 2022
Created on Feb 9, 2022

This sunburst chart visualizes retail visitor rates during the pandemic, with each radial segment representing a category and its size proportional to visitor counts. The color scale maps values from red through green to magenta using d3.interpolateHsl. Built with d3.partition and d3.hierarchy, the visualization animates arc transitions using d3.arc and d3.transition. Interactive mouseenter, mouseleave, and click events on transparent overlay arcs log the selected segment’s path to the console. The SVG renders data parsed from inline JSON, with a lightsteelblue background.

AI-generated description
MIT Licensed

Similar vizzes