UNPKG
d3-ternary
Version:
alpha (3.0.8-alpha.3)
latest (3.1.0)
3.1.0
3.0.9
3.0.8-alpha.3
3.0.8-alpha.2
3.0.8-alpha.1
3.0.8-alpha.0
3.0.7
3.0.5
3.0.3
3.0.2
3.0.1
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
Generate ternary plots
github.com/davenquinn/d3-ternary
davenquinn/d3-ternary
d3-ternary
/
types
/
ternaryPlot.d.ts
6 lines
(5 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
Barycentric
,
TernaryPlot
}
from
"./types"
;
/** * Constructs a new ternary plot using the provided barycentric converter */
export
declare
function
ternaryPlot<T = [
number
,
number
,
number
]>(
barycentric
:
Barycentric
<T>):
TernaryPlot
<T>;