data-driven-range-slider
data-driven-range-slider copied to clipboard
Trouble importing
After doing npm i data-driven-range-slider and requiring the module as it's listed in the Github README, I get this error:
I've tried requiring 'data-driven-range-slider' instead and that gives me a different error related to using a const variable. I'm not sure why.
I am not sure what's happening
For the workaround, you can directly include script file for now
Here is JSFiddle to check how it can be used
Note: you also need to have d3.js included