I turned it into an experimental @sveltejs chart component library, Pancake https://pancake-charts.surge.sh/
-
-
Prikaži ovu nit
-
It's inspired in part by Layer Cake, which
@mhkeller released a new version of yesterdayhttps://twitter.com/mhkeller/status/1222944657555980289 …Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
It seems you still used JavaScript in the development process
-
Of course. But not at runtime, which is the only thing that matters
- Još 4 druga odgovora
Novi razgovor -
-
-
nice article! and cheers for the no-js link :-)
-
thanks for making it :)
- Još 4 druga odgovora
Novi razgovor -
-
-
Viewboxed SVG that gets hydrated is how
@mathisonian set up the map here (at least as far as I understood it.) Easier case because the aspect ratio doesn't change.https://projects.fivethirtyeight.com/facebook-primary/ … -
neat! using vector-effect too — if i would have expected anyone to know about that (i didn't until recently) it's matthew
Kraj razgovora
Novi razgovor -
-
-
You can get the HTML-like scaling/placement behavior you were after by *omitting* the viewBox and positioning everything with percentages, but that would still have the sometimes-fuzzy offsets
-
You need the viewbox, because you can't use percentages in path definitions etc
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.