frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Minimalist library to generate SVG views of scientific data

https://github.com/alefore/mini_svg/
23•afc•3d ago
Just wanted to share with HN a simple/minimal open source Python library that generates SVG files visualizing two dimensional data and distributions, in case others find it useful or interesting.

I wrote it as a fun project, mostly because I found that the standard libraries in Python generated unnecessarily large SVG files. One nice property is that I can configure the visuals through CSS, which allows me to support dark/light mode browser settings. The graphs are specified as JSON files (the repository includes a few examples).

It supports scatterplots, line plots, histograms, and box plots, and I collected examples here: https://github.com/alefore/mini_svg/blob/main/examples/READM...

I did this mostly for the graphs in an article in my blog (https://alejo.ch/3jj).

Would love to hear opinions. :-)

Comments

emilbratt•1h ago
Looks neat! As someone who also did a barplot library with SVG output, I can tell you that this sort of program is really fun to write.

https://crates.io/crates/eb_bars

WaryByDesign•1h ago
Other than that the graphs look good, I don't have much to say about the code (not a Python person), but I think the approach is great, mostly because I like using custom-generated SVGs for visualizations myself as well.

The only downside I've experienced is that it's pretty much impossible to get data-dependent interactions (tooltips and clickable links that vary based on section) to work reliably: additional Javascript has gotten me to like 80% on desktop, but not on mobile.

A Faster Alternative to Jq

https://micahkepe.com/blog/jsongrep/
95•pistolario•2h ago•48 comments

Schedule tasks on the web

https://code.claude.com/docs/en/web-scheduled-tasks
134•iBelieve•4h ago•91 comments

The European AllSky7 fireball network

https://www.allsky7.net/#archive
41•marklit•2h ago•4 comments

Apple discontinues the Mac Pro

https://9to5mac.com/2026/03/26/apple-discontinues-the-mac-pro/
348•bentocorp•12h ago•279 comments

Why so many control rooms were seafoam green (2025)

https://bethmathews.substack.com/p/why-so-many-control-rooms-were-seafoam
800•Amorymeltzer•1d ago•149 comments

Was the Iran War Caused by AI Psychosis?

https://houseofsaud.com/iran-war-ai-psychosis-sycophancy-rlhf/
4•2a0c40•39m ago•2 comments

Show HN: I put an AI agent on a $7/month VPS with IRC as its transport layer

https://georgelarson.me/writing/2026-03-23-nullclaw-doorman/
239•j0rg3•11h ago•73 comments

The Legibility of Serif and Sans Serif Typefaces (2022)

https://library.oapen.org//handle/20.500.12657/53344
39•the-mitr•3d ago•11 comments

Everything old is new again: memory optimization

https://nibblestew.blogspot.com/2026/03/everything-old-is-new-again-memory.html
13•ibobev•3d ago•0 comments

$500 GPU outperforms Claude Sonnet on coding benchmarks

https://github.com/itigges22/ATLAS
248•yogthos•16h ago•112 comments

Show HN: Minimalist library to generate SVG views of scientific data

https://github.com/alefore/mini_svg/
23•afc•3d ago•2 comments

DOOM Over DNS

https://github.com/resumex/doom-over-dns
277•Venn1•3d ago•83 comments

My minute-by-minute response to the LiteLLM malware attack

https://futuresearch.ai/blog/litellm-attack-transcript/
366•Fibonar•17h ago•138 comments

Whistler: Live eBPF Programming from the Common Lisp REPL

https://atgreen.github.io/repl-yell/posts/whistler/
91•varjag•3d ago•4 comments

We rewrote JSONata with AI in a day, saved $500k/year

https://www.reco.ai/blog/we-rewrote-jsonata-with-ai
155•cjlm•11h ago•142 comments

Generators in Lone Lisp

https://www.matheusmoreira.com/articles/generators-in-lone-lisp
38•matheusmoreira•3d ago•4 comments

HyperAgents: Self-referential self-improving agents

https://github.com/facebookresearch/hyperagents
180•andyg_blog•2d ago•66 comments

Running Tesla Model 3's computer on my desk using parts from crashed cars

https://bugs.xdavidhu.me/tesla/2026/03/23/running-tesla-model-3s-computer-on-my-desk-using-parts-...
891•driesdep•1d ago•305 comments

Anthropic Subprocessor Changes

https://trust.anthropic.com
76•tencentshill•12h ago•38 comments

Chroma Context-1: Training a Self-Editing Search Agent

https://www.trychroma.com/research/context-1
45•philip1209•14h ago•3 comments

OpenTelemetry profiles enters public alpha

https://opentelemetry.io/blog/2026/profiles-alpha/
167•tanelpoder•17h ago•24 comments

We haven't seen the worst of what gambling and prediction markets will do

https://www.derekthompson.org/p/we-havent-seen-the-worst-of-what
723•mmcclure•13h ago•500 comments

Agent-to-agent pair programming

https://axeldelafosse.com/blog/agent-to-agent-pair-programming
69•axldelafosse•7h ago•21 comments

Suddenly energy independence feels practical:Europeans building mini solar farms

https://www.euronews.com/2026/03/26/suddenly-energy-independence-feels-practical-europeans-are-bu...
11•vrganj•45m ago•2 comments

Using FireWire on a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/firewire-on-a-raspberry-pi/
84•jandeboevrie•13h ago•38 comments

Show HN: Fio: 3D World editor/game engine – inspired by Radiant and Hammer

https://github.com/ViciousSquid/Fio
67•vicioussquid•12h ago•6 comments

John Bradley, author of xv, has died

https://voxday.net/2026/03/25/rip-john-bradley/
263•linsomniac•15h ago•81 comments

Chicago artist creates tourism posters for city's neighborhoods

https://www.chicagotribune.com/2026/03/25/chicago-neighborhood-posters/
90•NaOH•10h ago•41 comments

Colibri – chat platform built on the AT Protocol for communities big and small

https://colibri.social/
120•todotask2•16h ago•73 comments

CERN to host a new phase of Open Research Europe

https://home.cern/news/news/cern/cern-host-europes-flagship-open-access-publishing-platform
221•JohnHammersley•14h ago•21 comments