Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSrishti2398
Last edited Jan 21, 2020
Created on Jan 17, 2020

A simple bar chart visualizes population data from the United Nations Population Prospect 2017. The example primarily demonstrates a custom tooltip implemented with D3 v4, attaching mouseover, mousemove, and mouseout events to a circle element. The tooltip is a styled HTML div that appears near the cursor, displaying formatted text and an image. The SVG circle acts as a static placeholder, while the tooltip logic showcases event handling and dynamic positioning using the D3 selection API.

AI-generated description

Yifu's simple bar chart

I created the visualization following this tutorial: https://www.youtube.com/watchv=_8V5o2UHG0E&t=1220s

Data source: Data source is United Nations Population Prospect 2017

Dec. 24, 2019

MIT Licensed

Similar vizzes