Comments (4)
Just to have it mentioned.... :) I'm working on a dedicated Javascript data manipulation lib, which I'm currently start using it in conjunction with D3. Maybe it's worth a look:
https://github.com/michael/data
It offers uniform data formats (such as Data.Hash, Data.Collection, Data.Graph) supports transformation (like group on a collection) and importantly it sits on top of JSON (serialization/deserialization stuff).
from d3.
Nice. I'll take a look at it! Would definitely like to make a cleaner separation between the data processing components and the visualization/selection code.
from d3.
Just made a little change to Data.js, that makes Data.Hashes (which are basically sortable hashes, having both, array and hash semantics) behave like regular arrays.
Now I can pass them to D3's data() function. However, I'm not sure about how safe this patch is (in terms of side-effects).
Alternatively, would you consider patching D3 in such a way, that for the data "array" it calls data.at(index) for Data.Hashes instead of data[index] as for regular arrays?
from d3.
Keeping things simple and leaving them where they are.
@michael In 2.0.0, you can extend the selection's prototype and override the behavior of the data operator, should you want to change it to be more compatible with Data.js.
from d3.
Related Issues (20)
- How to build this chart
- d3.min and d3.least don't always ignore nulls HOT 4
- Adopt a monorepo
- grid color not applied for the left axis column number 1
- cycle at stratify err
- D3 graph into Flutter web
- Remember ui State across reloads HOT 1
- Nodes arrange
- Replace Math.random() with crypto function HOT 4
- Non english language texts being cut off HOT 4
- Zoom and click on d3 Sankey
- What does mean the sample code?
- #How to remove spaces between bar in d3.js grouped bar chart.
- d3 hierarchy: node visibility parameter to control either to show node in visualization or hide it.
- the wrong parameter name at Binning data of d3-array documentation HOT 5
- Upgrading from v3 to v7 requires additional renders for my custom gauge
- Making a non-contiguous piechart
- Transition to pie chart with 2 slices crashes HOT 1
- Adding a link towards DefinitelyTyped HOT 1
- Realtime line chart
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 d3.