# finishing touches on a range slider | d3-simple-slider

**URL:** <https://talk.observablehq.com/t/finishing-touches-on-a-range-slider-d3-simple-slider/1584>\
**Category:** Help\
**Created:** [January 17, 2019, 9:00pm UTC](https://talk.observablehq.com/t/finishing-touches-on-a-range-slider-d3-simple-slider/1584 "2019-01-17T21:00:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [January 17, 2019, 9:57pm UTC](https://talk.observablehq.com/t/finishing-touches-on-a-range-slider-d3-simple-slider/1584/6 "2019-01-17T21:57:06Z")

</div>

> [@aaronkyle](#):
>
> I’ll see what I can do to figure out what this means

All you need to do is to alias `d3-selection` to `d3`:

```js
d3 = require.alias({'d3-selection': 'd3'})('d3@5', 'd3-simple-slider@1.4.1')

```

and then access the slider via `d3.sliderBottom`.

With the aliased require `d3-simple-slider` will be fed the `d3` module instead of `d3-selection`.

---

_[View the full topic](https://talk.observablehq.com/t/finishing-touches-on-a-range-slider-d3-simple-slider/1584)._
