Comments (3)
LayerCake does the work of measuring a container div, measuring the extent of your data and creating D3 scales and SVG, HTML, Canvas, or WebGL elements to draw your chart in. The library has no built-in "chart types" and the idea is you bring your own renderers. If the DOM measurement and data extent calculations would be helpful to you then yes you can use LayerCake to make this dataviz. Once it has set up your canvas element, though, the library gets out of the way and lets you create whatever you want in that space.
from layercake.
Thanks for the clarification! I should read the docs more carefully. 😅
from layercake.
All good! If you end up using it, drop a link I'd love to see it. Essentially, if you want a canvas element to be responsive in size to some div, Layer Cake will be helpful for that. But it won't be doing any heavy lifting when it comes to what you want to render inside that canvas except give you scales to use. Within the 3d context, though, I'm not sure if D3 scales will be that applicable though. It's been a while since I've done something in 3d.
from layercake.
Related Issues (20)
- Should auto-calculated ordinal domain return sorted? HOT 3
- Sorted ordinal regression HOT 14
- Collapsible tree HOT 3
- Migrate to Runes HOT 6
- Chart showing up blank HOT 10
- Update to SvelteKit 2 HOT 2
- Question: is it NOT meant to be used with TypeScript? HOT 4
- Scatter plot with two dataset HOT 9
- Add prop to not sort a calculated domain from ordinal scale HOT 1
- Tick position on new Axis Y.html component is slightly off for bandwidth scales
- Deprecate `extents` prop perhaps? HOT 8
- examples: Modify components to support negative bars and columns
- How to handle combo charts? HOT 2
- Add option to suppress negative dimension warning. HOT 1
- Missing rollup package causing CI to fail HOT 1
- Cannot click on code files in examples website
- MultiLine doesn't render lines with undefined points HOT 6
- Add a prop to HTML Axis components to use pixels and not percentages HOT 1
- Remove percentages from annotation example HOT 1
- Remove `$:` from function definitions 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 layercake.