datasette / datasette/datasette-plot
Enhancement request: Output chart as static png base64 text encoded data
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Add an option to output static charts as png(s) endocde as base64 text.
This is useful for adding plots to kml files which will allow text encoded png images (of the chart in this case), but in general will not link to images.
An example of this, (not using this plugin), can be seen here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked example at datasette_enrichments_gmap_elevation/init.py and then locate this plugin's chart-output entry point. Confirm how static charts are currently produced, define the option's expected output, and verify that the result is base64-encoded PNG text suitable for embedding in KML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100