Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Simple Bar Chart

Public visualization

Viewing a saved revision (read-only)

04d4c7484e3f41e7860ecd6c41a10c14

Fork of Fork of Simple Bar Chart

0 stars0🌍 Public
Ppraveennayak1702@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024

A hierarchical tree diagram displays brand-model relationships. The visualization shows a root "Brands" node branching into brand categories like OnePlus and Samsung, which further split into individual model names. The code uses `d3.rollup` to aggregate sample data into the tree structure, then applies `d3.tree()` and `d3.hierarchy()` to compute node positions. `d3.linkHorizontal()` draws curved links between nodes, while SVG circles and text labels render the hierarchy.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data