News for hackers. Stuff that matters.

holtzy

Re:Show HN: A Data Art Gallery on Friday February 06, 2026 @09:36AM (#46913331)
No idea what this means. Having 8 AI reading my website instead of humans makes me quite sad. What a weird world we live in!

Show HN: A Data Art Gallery

https://www.data-to-art.com

Hi HN,I just launched data-to-art.com, a curated online gallery focused on data driven art.The site showcases artists who take real datasets and transform them into visual works that visually appealing or intriguing.It's a side project to highlight a different relationship with data. I work in the field of data visualization and just love this variation.I would love any feedback, and if you...

( Read More... | 1 comment | on HN )

Show HN: Understand How Matplotlib Works

https://www.matplotlib-journey.com

I've been using Matplotlib for years and even created python-graph-gallery.com to help people quickly build charts with Python.However, I’ve always struggled to grasp the "big picture" of how everything fits together.That's why I'm now working on a new project called Matplotlib Journey, and I’d love to get your feedback! My goal is to explain everything from scratch, so anyone can gain a true...

( Read More... | no comments | on HN )
Re:Show HN: Graphs with React and D3.js? The big picture on Wednesday November 13, 2024 @11:11AM (#42127284)
Thanks! Glad to know it can be helpful!

Show HN: Graphs with React and D3.js? The big picture

https://www.react-graph-gallery.com/react-d3-dataviz-course

D3.js is the leading library for dataviz on the web. React is the most widely used framework for building UIs.But making them work together is notoriously difficult.I spent five years creating custom charts for Datadog. I published hundreds of examples in the React Graph Gallery.Today I'm releasing a comprehensive set of - 11 modules - 50+ lessons - 40+ exercises to offer a complete guide on...

( Read More... | 2 comments | 2 points | on HN )

Show HN: Pypalettes –> explore and use 2500 color palettes

https://python-graph-gallery.com/color-palette-finder/

Finding a good color palette for a chart is a struggle. Using the palette in a Matplotlib chart is not easy.We just created a Python library called pypalettes that references 2500+ color palettes. You can use any of them with 1 line of code.We also built an app to efficiently explore all of them and find the perfect match!

( Read More... | no comments | 3 points | on HN )
Re:Yes, Python and Matplotlib can make pretty charts on Tuesday April 16, 2024 @11:39AM (#40053426)
That's the thing with wrapper libraries: amazing at the beginning, but quickly becoming frustrating.
Re:Yes, Python and Matplotlib can make pretty charts on Tuesday April 16, 2024 @08:55AM (#40051304)
There aren't so many polished matplotlib charts out there. So I'm not even sure if chatGPT would be good at it.
Re:Yes, Python and Matplotlib can make pretty charts on Tuesday April 16, 2024 @07:54AM (#40050873)
There are countless stunning charts available on the web, many of which are crafted using programming languages like R.

Tired of hearing doubts about matplotlib's capabilities, I've curated and translated a collection of impressive charts using Python and matplotlib.

Explore them all with detailed tutorials and reproducible code at:

https://python-graph-gallery.com/best-python-chart-examples/

This is a very good question as performance is a key struggle in Data Visualization. Swizec answer below is great.

I will write more about performance soon. But using several layers of canvas is definitely the way to go in most situation to put it in a nutshell

All the map sections are not ready yet. But they will be soon!
Nice thanks!
Animation is the trickiest part of dataviz on the web IMO.

I like react-spring but there are sooo many approached. All with pros and cons.

I'll write more about it soon!

If 1 day you need to compute the position of all the rectangles in a treemap, you will understand how handy d3.js is.

D3.js is split in 2 types of functions:

- "math" - rendering

Math functions cannot be avoided for sure

I also have the d3 graph gallery. It shows only simple charts which ease the learning curve

d3-graph-gallery.com

Ever heard about ggplot2 ?

www.r-graph-gallery.com

I agree a LOT with the comment below.

D3.js comes with function that modify the DOM. This is react job too. So using both together can be a challenge.

It's fully static and hosted on github. It won't go dark. (And I'm actively working on it :) )
Many great books exist for d3.js.

For d3.js AND react, it is missing for now IMO

Thanks! Glad to hear this!
Substack is just the tool I use for the newsletter!

The website is made using Next.JS

Nope. Charts are added to the DOM using SVG or Canvas.
You can: - call d3.axis in a useEffect - Or create your own axis component rendering some svg. It is not so hard actually.
Thanks!
How does Svelte makes the code more declarative and Componentized than with React ?
Yes I know about VisX.

The approach is kind of in-between what I suggest and what a classic JS library like Vega does.

It is definitely a very good abstraction imo!! But I'm always scared to be stuck with a customisation I cannot do because of a layer of abstraction.

Thanks a lot for the nice feedback!

Older »