Description
You can install n3-line-chart by using the npm package manager and running following command from the terminal.
n3-charts line-chart alternatives and similar libraries
Based on the "Data Visualization" category.
Alternatively, view n3-charts line-chart alternatives based on common mentions on social networks and blogs.
-
d3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada: -
echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser -
fabric.js
Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser -
BabylonJS
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework. -
p5.js
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs — -
recharts
Redefined chart library built with React and D3 -
#<Sawyer::Resource:0x00007f1b609038f0>
Open-source JavaScript charting library behind Plotly and Dash -
Highcharts JS
Highcharts JS, the JavaScript charting framework -
paper.js
The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey -
Frappe Charts
Simple, responsive, modern SVG Charts with zero dependencies -
sigma.js
A JavaScript library aimed at visualizing graphs of thousands of nodes and edges -
GoJS, a JavaScript Library for HTML Diagrams
JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages. -
Cytoscape.js
Graph theory (network) library for visualisation and analysis -
svg.js
The lightweight library for manipulating and animating SVG -
dc.js
Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js -
mxGraph
Diagramming library that enables interactive graph and charting applications to be quickly created that run natively in any major browser that is supported by its vendor. -
two.js
A renderer agnostic two-dimensional drawing api for the web. -
heatmap.js
🔥 JavaScript Library for HTML5 canvas based heatmaps -
metrics-graphics
A library optimized for concise and principled data graphics and layouts. -
rickshaw
JavaScript toolkit for creating interactive real-time graphs -
cubism
Cubism.js: A JavaScript library for time series visualization. -
jointjs
A proven SVG-based JavaScript diagramming library powering exceptional UIs -
processing.js
Processing.js makes your data visualizations work using web standards and without any plug-ins -
arbor
a graph visualization library using web workers and jQuery -
dimple.js
An object-oriented API for business analytics -
G2Plot
:dango: An interactive and responsive charting library -
react-simple-maps
Beautiful React SVG maps with d3-geo and topojson using a declarative api. -
d3plus
A javascript library that extends D3.js to enable fast and beautiful visualizations. -
Bezier.js
A nodejs and client-side library for (cubic) Bezier curve work -
jquery.sparkline
A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of n3-charts line-chart or a related project?
README
n3-line-chart v2

n3-line-chart is an easy-to-use JavaScript library for creating beautiful charts in AngularJS applications and it is built on top of D3.js.
Resource
Getting started
Please note: Currently, n3-line-chart works only with D3.js version 3! In D3.js version 4, the API changed and hence breaks compatibility with many 3rd party libaries such as n3-line-chart.
You can install n3-line-chart by using the npm
package manager and running following command from the terminal.
npm install n3-charts
Alternatively you can download the latest release and place the line-chart.min.js wherever you want. Please note, that you need to also download D3.js and AngularJS when installing n3-line-chart manually!
Next, you need to reference LineChart.js and LineChart.css in your index.html file.
<script src="node_modules/n3-charts/build/LineChart.js"></script>
<link rel="stylesheet" href="node_modules/n3-charts/build/LineChart.css">
Finally, you need to reference the n3-line-chart module in your AngularJS application.
angular.module('app', ['n3-line-chart'])
Here is an example how your HTML file should look like.
<!doctype html>
<html ng-app="app">
<head>
<!-- Reference AngularJS and D3.js -->
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/d3/d3.min.js"></script>
<!-- Reference n3-line-chart -->
<script src="node_modules/n3-charts/build/LineChart.js"></script>
<link rel="stylesheet" href="node_modules/n3-charts/build/LineChart.css">
<script type="text/javascript">
angular.module('app', ['n3-line-chart'])
</script>
</head>
<body>
<!-- Now you can use the n3-line-chart directive -->
</body>
</html>
Now, you can go ahead and check the examples and the complete documentation!
Looking for the previous version 1? Try using
bower install n3-line-chart#1.1.12
What's new in v2?
Good question. Not that we rebuilt this just because we like building things, right ? Seriously though, v2 right now is mostly about solving v1 problems, you know, extendability and maintenance. The chart's directive lifecycle has been thought of from the very beginning, which allows better transitions and full leverage of d3.js capabilities.
Also, we now use something we call... Shoot, we dont have a name for that. Well, imagine a cake. With a bunch of fruits in it. Everything is baked in. Remove a fruit and there's a hole in the cake. No one wants a cake with air in it. That was v1. Now, imagine a pile of pancakes. Delicious, banana flavoured pancakes. Pour some maple syrup on those godly pastries. The syrup goes from one pancake to another, nothing fancy in this. Now if you remove one or two pancake, the syrup probably won't even notice. That's v2. v2's components are organized in layers and talk to each other using two powerful singletons, eventManager
and factoryManager
. It makes it super easy to add stuff and extend the directive's features.
Okay seriously, what's new ?
CSS styling for the entire chart Elements naming across the chart is now consistent and easy to override
Pure-HTML legend and tooltip you can pimp as much as you want Way easier to implement !
D3.js transitions for data update In v1, the entire chart was redrawn each time the data changed. V2 knows better.
Better data format The dataset has a new, more versatile format that allow unsynced data to be plotted.
Better performance due to smarter algorithms Well, actually what we were doing previously was the dumb way, this one is just the correct one.
Better options format Still WIP, though !
Contribution and Help
You can easily reach us via Gitter for discussions and questions regarding development and usage. If you got stuck, found a bug or want to share some thoughts and improvements please file an issue.
If you want to contribute, please contact us via Gitter to discuss the changes. Make sure you checkout the contribution docs and developer guidelines before. And don't be shy, we are always glad to help you with your first contributions.
Authors
n3-line-chart v2 is made with love and care by Christoph Körner & Sébastien Fragnaud.