JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3134
  • Score
    100M100P100Q117330F
  • License BSD-3-Clause

The HSV (Hue, Saturation, Value) color space.

Package Exports

  • d3-hsv

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (d3-hsv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

d3-hsv

Installing

If you use NPM, npm install d3-hsv. Otherwise, download the latest release. You can also load directly from d3js.org as a standalone library. AMD, CommonJS, and vanilla environments are supported. In vanilla, a d3 global is exported:

<script src="https://d3js.org/d3-color.v0.5.min.js"></script>
<script src="https://d3js.org/d3-hsv.v0.0.min.js"></script>
<script>

var yellow = d3.hsv(…);

</script>

Try d3-hsv in your browser.

API Reference

# d3.hsv(…)