TauCharts is a Javascript charting library based on D3. Designed with passion.
Official website: www.taucharts.com
=========
#Documentation
Read the documentation here. There are some tutorials, basic and advanced topics.
#Usage
##Scatter plot
var chart1 = new tauCharts.Chart({
type: 'scatterplot',
x: 'milespergallon',
y: 'price',
data: [
{class: "C", milespergallon: 41.26, price: 24509.74, vehicle: "Prius (1st Gen)", year: 1997},
...
{class: "C", milespergallon: 37 , price: 39145 , vehicle: "Chevrolet Volt" , year: 2013}
],
plugins: [
tauCharts.api.plugins.get('trendline')()
]
});
chart1.renderTo('#target');
##Simple horizontal bar chart
var chart1 = new tauCharts.Chart({
type: 'horizontal-bar',
y: 'vehicle',
x: 'price',
data: [
{price: 84000 , vehicle: "ActiveHybrid 7L"},
...
{price: 118000, vehicle: "Lexus LS600h/hL"}
]
});
chart1.renderTo('#target');
##Facets
var chart1 = new tauCharts.Chart({
type: 'scatterplot',
x: ['milespergallon'],
y: ['class', 'price'],
color: 'class',
data: [
{class: "C", milespergallon: 41.26, price: 24509.74, vehicle: "Prius (1st Gen)", year: 1997},
...
{class: "C", milespergallon: 37 , price: 39145 , vehicle: "Chevrolet Volt" , year: 2013}
],
plugins: [
tauCharts.api.plugins.get('legend')(),
tauCharts.api.plugins.get('trendline')()
]
});
chart1.renderTo('#target');
#License
Licensing: Apache License, Version 2.0
Have a questions? Contact us
#Change Log
- fix flex scales
- fix legend plugin for stacked bar charts
- add support parallel coordinates
- stacked bar charts
- geo charts (alpha)
- Flex scales (ratio parameter for ordinal scales)
- Auto calculate ratio for 2-level facet
- "Settings" plugin. Allow to control fit to view-port
- New core (extended GPL syntax)
- Adapter for compatibility with previous definitions (except guide.split parameter)