Skip to main content
Public

Share visualization

Loading preview…

Zoomable test 2

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

Zoomable test 2

1
0007ebey
Last edited Aug 27, 2020
Created on Aug 27, 2020
Forked from Zoomable test 1

This interactive visualization displays a zoomable circular treemap of celebrities, organized by industry category (Hollywood, Bollywood) and gender. The hierarchy is constructed from a CSV file using `d3.csv` and `d3.nest`, with circles sized according to the `sample` metric. Rendered as SVG with React, the pack layout uses `d3.pack` and `d3.hierarchy` to position the circles. Users click circles to zoom, which triggers a smooth animated transition using `transition.tween` with `d3.interpolateZoom`. Leaf nodes include celebrity profile images clipped within their circles, with offsets applied to center faces.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed