rope-chart's People
rope-chart's Issues
Change .data([data]) parameter format
Currently the data parameter format is something like this:
{
min: {value: 5, label: 'Country A'},
max: {value: 95, label: 'Country B'},
threshold: {value: 60, label: 'Region Average'},
focus: {value: 45, label: 'Mongolia'}
}
We would like to switch to passing the full data set. Focus would be provided by another getter/setter .focus(String).
[
{
{name: "Country A", value: 5},
{name: "Country B", value: 95},
...
{name: "Country Z", value: 66}
}
]
Add Value & Label Text for Threshold Line
The threshold line currently has no label or value text. This needs to be added so that the user can know what the line represents.
Add Highlight Rectangle for "Focus Item"
See mockup here for example: https://projects.invisionapp.com/share/6B691LJQA#/screens/139157370
Smarter Positioning Options
Currently the chart only renders with the rope centered on the SVG area. We need more positioning flexibility in order to meet the design requirements of this mockup: https://projects.invisionapp.com/share/6B691LJQA#/screens/139157370
Add Unit Tests
Move Styling to CSS
Wherever possible, move styling to CSS.
Add Multitarget Build Script
Should support at least "script global" style and CommonJS, others as is convenient.
Add Demo Image to README
Including a screen capture or a link to a live demo would work.
Add Visual Regression Tests
Handle Knot & Label Overlap
Labels should be offset to avoid all overlap.
Knots should allow optional offset to avoid overlap.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.