Skip to content

Version 2.0 of d3-ternary

Latest
Compare
Choose a tag to compare
@JulesBlm JulesBlm released this 14 May 12:45
· 29 commits to master since this release

d3-ternary has been rewritten from the ground up in TypeScript. See the d3-ternary introductory notebook on Observable. This version takes more of a headless approach then the previous, it generates the data needed to draw the ternary plot. You can find examples of how to render the ternary plot using D3 and React in src/render folder.

New features

New features include

  • Partial domains, support zooming & panning
  • Configuration option for
    • Ticks
    • Labels
    • Grid
    • Vertices