Skip to content

WWolf/d3-ternary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A couple of things to help make ternary plots in d3

The two things

  1. A scale tgp.d3.plot() that converts ordered triplets into x/y coordinates based on a range property (also you can draw lines).

  2. An axis renderer which takes a plot and draws a triangle with subdivisions. TO DO: add axis labels.

Have a look at index.html for example usage

About

A Bower module for making ternary plots with d3. based on http://bl.ocks.org/tomgp/7766353

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.0%
  • HTML 28.0%