lucafalasco / datalith Goto Github PK
View Code? Open in Web Editor NEWSimple, batteries included, components to build beautiful data visualizations
Home Page: https://datalith.xyz
License: MIT License
Simple, batteries included, components to build beautiful data visualizations
Home Page: https://datalith.xyz
License: MIT License
Use @storybook/addon-notes
to document all components
I am not sure about that, but I think responsability has failed with Spiral chart component, in particular with bubble positions.
When you generate spiral coordinates [1], you are not taking into account width and height, could be a problem?
I think we need to scale up/down coordinates according to actual height an width or they are going to be render outside of container. Or could be an issue related to g transform? [2] Or maybe because we are not separating correcly wrapper and bounds without taking into account margins?
What do you think about that? Am I missing something?
Thanks!
It would be useful to add mouse events handlers to each element of the data visualizations, in order to make it possible to pass a callback to handle those events to eventually trigger side effects.
This could be done similarly to how it currently works with the tooltip
prop.
I think something like this could work:
interface Props {
...
onMouseOver?: (e: React.MouseEvent, d: Datum) => void
onMouseOut?: (e: React.MouseEvent, d: Datum) => void
}
At the moment opacity can only be applied to an SVG element by setting the alpha value in the fill color accessor, but rgba
is currently not allowed in the SVG spec, and can generate color issues if the SVG is exported and edited with a design tool such as Adobe Illustrator.
Data could actually be sorted before being used.. Should also remove a lodash
dependency
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.