Comments (1)
Hey @leomorpho, thanks for checking out LayerChart. It looks like you pulled part of createStackData()
from utils/stack. Was there something it was lacking (I didn't spot any differences after a quick glance)
Regardless, nothing jumps out at me that could be simplified ATM, but I would like to improve grouped
/stacked
at some point, especially regarding tooltip/data. See #21 and #98.
I would also like grouped scales to be more integrated to <Chart>
, which are really just derived scales (x1Scale derives from xScale and uses it's bandwidth instead of the chart's width). Had a chat about adding something in LayerCake, but wasn't worth it at that point (needed more investigation).
However it might be improved, I want to make sure it supports switching between grouped only, stacked only, and group and stacked, such as this example.
Speaking of examples, it would be good to add a diverging bar chart example to the docs., similar to what you have (and both stacked and simpler single bar examples), similar to these:
- https://observablehq.com/@d3/diverging-bar-chart
- https://observablehq.com/@d3/diverging-stacked-bar-chart
- https://observablehq.com/@observablehq/plot-diverging-stacked-bar
from layerchart.
Related Issues (20)
- Tooltip click handler
- Path simplification
- Improve example copy/paste experience
- [Bars] Support additional click and tooltip use cases / examples (especially grouped/stacked)
- [Tooltip / Highlight] Radial support
- [AreaStack] Add default slot for Area customization
- Axis tick improvements
- Improve Arc/Pie tweening
- Update Bars/Bar tweened type to match Rect
- [Axis / Legend] Rename `tickSize` to `tickLength`
- Geo Voronoi tooltip example HOT 1
- [Error] No matching export in "node_modules/svelte-ux/dist/index.js" for import "getDuration" HOT 3
- [Pie] Support left or right aligned (with padding)
- Hull (convex / concave) HOT 1
- More Force examples
- Inertia drag
- Replace all mouse/touch events with pointer events HOT 1
- Update AnimatedGlobe example to use `transform.zoomTo()` HOT 1
- Labels HOT 2
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 layerchart.