d3-luxon

Luxon-based d3-time and d3-scale implementations.

Usage no npm install needed!

<script type="module">
  import d3Luxon from 'https://cdn.skypack.dev/d3-luxon';
</script>

README

d3-luxon

Luxon-based d3-time and d3-scale implementations.

Example Usage

import {scaleZoned} from "d3-luxon";

let scale = scaleZoned(zone, 1 /*firstDayOfWeek; 1=monday, 7=sunday*/)
                .range([0, width])