Re:Show HN: I made first declaritive SVG,canvas framework
by viraptor on Sunday June 16, 2024 @06:44AM
(#40696073)
That's exactly my thought. D3 is great, but just doesn't mesh with my brain. I have to relearn it every time and it takes stupid amount of effort. I'll try this next.
Re:Show HN: I made first declaritive SVG,canvas framework
by acomjean on Sunday June 16, 2024 @11:56AM
(#40697959)
We use the slightly simpler vega-lite from the same group. It typically gets us most of the way there quite quickly. Downloads as svg and png is great.
They always ask for something out of scope and you have to dig a little through the docs (can we have long labels for our x axis, how about 60 categories for a scatter plot..). /rant. We haven't hit anything that couldn't be done though.
Its from the same team, just a more simple wrapper around D3.
Re:Show HN: I made first declaritive SVG,canvas framework
by tmdeoans on Sunday June 16, 2024 @06:39PM
(#40700700)
I wanted to leave a comment here to say thank you. Surprisingly, creating charts in JSON format was one of the first ideas that came to mind when I was developing with Flitter, but it seems it already existed.
> Why Did We Copy Flutter? Because Even Google’s Castoffs Produce Greatness!
haha indeed, flutter had some amazing insights into syntax and state management so it’s cool to see some of these finding new life.
For even simpler declarative diagrams I'm a fan of Vega http://vega.github.io/
They always ask for something out of scope and you have to dig a little through the docs (can we have long labels for our x axis, how about 60 categories for a scatter plot..). /rant. We haven't hit anything that couldn't be done though.
Its from the same team, just a more simple wrapper around D3.
https://vega.github.io/vega-lite/
(if the title can still be edited, I would suggest “I’ve made a declarative SVG & Canvas framework”, don’t think it has a claim to be the first)
<-- it's the diagram example made of flitter (this is sideproject and reference is dbdiagram)