Skip to main content
Public

Share visualization

Loading preview…

Vertical slider

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

Vertical slider

0
Aape-ape-ape
Last edited Apr 13, 2021
Created on Apr 13, 2021
Forked from time slider

This example demonstrates a vertical slider widget built with D3 v5 and the d3-simple-slider library. It displays a percentage value (formatted to two decimal places) that users can adjust by dragging the slider handle along a vertical track. The slider is rendered as an SVG element inside a Bootstrap container, with tick marks and labels generated using d3.format and custom tick specifications. The code initializes the slider using d3.sliderLeft(), sets its min/max range from a predefined data array, and updates a paragraph element on each change event.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.

Comments

Sign in to join the discussion.

MIT Licensed