Skip to main content
Public

Share visualization

Loading preview…

lolipop

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

lolipop

0
GGinnWG
Last edited Dec 1, 2022
Created on Nov 30, 2022
Forked from TP_dataviz Projet

This lollipop chart displays the top 20 albums by Deezer fan count for artists located in the United Kingdom, using data from a local JSON file. Each album is represented by a vertical line and a circle, with the y-axis encoding fan numbers. The visualization is built with React and D3 v4, using `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and SVG rendering. The code sorts the data descending and selects the top 20 entries before updating the chart.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed