-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(simple-pie): update README for npm
- Loading branch information
1 parent
8154787
commit 0ddef21
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"simple-pie": patch | ||
--- | ||
|
||
Update README file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Motivation | ||
|
||
Some time ago I had to integrate a network graph. And the every node of the network graph would be tiny pie chart. | ||
The network graph library doesn't support anything else except png or svg as node inner content. | ||
So, it is not very nice idea to keep a bunch of png or svg files for every case of data distribution. | ||
And for obvious reasons it is not possible to use HighCharts, Chart.js or other data visualization library. | ||
(Perhaps it would work with d3, but I'm not sure, it is an overkill to keep such big library for the such small purpose) | ||
|
||
Well the `simple-pie` does exactly this thing. It generates tiny svg pie which can be integrated into network graph or | ||
map or any other case, when you can't use data-visualization libraries. | ||
|
||
![net and map cases](https://raw.githubusercontent.com/serjilyashenko/simple-pie-project/master/docs/images/map-and-net-case.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters