▲ | neomantra 11 days ago | |
I'll toss some props to `go-echarts` [1], which allows you to declare charts with Golang types and it all gets bound to JSON automagically by Golang's JSON marshaller. I've used it for many projects and whenever there's an issue/PR, the maintainer responds quickly. It's fun to Go-embed JavaScript functions and SQL queries, for this weird blend of data, SQL, Go and Javascript. Here's a Golang example that pulls data from a DuckDB and creates a baked-in candlestick chart file with JavaScript tooltips. [2] [1] https://github.com/go-echarts/go-echarts [2] https://github.com/NimbleMarkets/dbn-duckduck-goose/blob/mai... | ||
▲ | TheGoodBarn 11 days ago | parent | next [-] | |
This is so sick thank you for sharing. I do a lot of Go + DuckDB stuff. I’ve done some janky JS / html/template stuff for charting so this will be fun to play with | ||
▲ | rochak 10 days ago | parent | prev | next [-] | |
Now that’s incredible | ||
▲ | selfhoster 11 days ago | parent | prev [-] | |
[flagged] |