1.0.8 • Published 2 years ago

range-slider-d3 v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Upgrade to D3 v6 support

Original:

Data driven range slider

Add interactivity to your web apps

NPM Version

D3 and svg based data driven range slider, with good performance

Check out Introduction

Check out examples

Check out several libraries and frameworks integrations

Integrations

Installing

Updated for D3 6

npm i range-slider-d3

Original

npm i data-driven-range-slider

Usage

const RangeSlider = require ('https://bundle.run/data-driven-range-slider@1.0.0');


new RangeSlider()
   .container(<myDOMElement>)
   .data(<myData>)
   .accessor(d=> d.<myDataPropertyName>)
   .aggregator(group => group.values.length)
   .onBrush(d=> /* Handle range values */)
  
   .svgWidth(800)
   .svgHeight(100)
   .render()
 

Author

David B (twitter)
David B (linkedin)

I am available for freelance data visualization work. Please contact me in case you'd like me to help you with my experience and expertise

You can also book data viz related consultation session with me