Comments (5)
Thanks for your suggestion. What kind of animations are you interested in? Between different chart states across different data frames, or chart effects (like mouseovers) within a single data frame?
I'm hoping React can enable a nice API for transitions between chart data (chart effects should be pretty straightforward), but I need to read more of React's lower-level code around the ReactTransitionGroup
to figure out if React's rendering is the best approach, or if I'm better off using d3's animation abstracted behind React components.
from react-d3.
I would like to see transitions between different data frames, such as what Cubism.js does. Cubism uses D3, so it might act as a useful reference.
from react-d3.
I definitely plan on implementing this type of animation after I created 5-6 basic types of charts. I'm leaving this open in the meantime.
As a reference, I'm leaving this link here, which provides a rough benchmark of React vs d3 transition performance.
And here's what I think I've decided on as an approach for our animations:
https://github.com/pleasetrythisathome/react.animate
...uses d3 to animate component by mutating component state.
from react-d3.
I'm working on this for internal prototypes, I should be able to open-source it to this library when I'm done (soon, before v0.5 at least).
from react-d3.
close due to inactive
from react-d3.
Related Issues (20)
- Failed propType: Invalid prop `width` of type String supplied to LineChart HOT 3
- LineChart width proptype warning
- Vertical Labels on BarChart (transform / textAnchor) HOT 2
- colors HOT 5
- Building in Accessible View
- label for plots in graph
- How to show tooltips in lineChart? HOT 2
- How do I shrink(or expand) PieChart? HOT 1
- does it have wordcloud? HOT 1
- Warning React.__spread is deprecated HOT 1
- using dates in linechart as x axis not working
- examples on github pages do not escape viewBoxObject correctly HOT 1
- WebStorm React d3 library force()
- Set AreaChart fill color
- Line chart format Date in x axis HOT 1
- Installing react-d3 HOT 1
- PropTypes Support for React v^15.5.0 HOT 3
- React 16 support HOT 1
- TypeError: Cannot read property 'string' of undefined HOT 1
- Can't create charts with this package
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.
from react-d3.