Better HN
topnewbestaskshowjobs
Log inSign up

holtzy

126 karma · joined Jun 23, 2023 (3y ago) · 31 submissions

yan-holtz.com
Submissions

comment 9mo ago · link · parent

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!

2.

Show HN: A Data Art Gallery(data-to-art.com ↗)

1 points · by holtzy · 9mo ago · 1 comment

3.

Show HN: Can you spot the better chart?(matplotlib-journey.com ↗)

7 points · by holtzy · 1y ago · 1 comment

4.

Show HN: Understand How Matplotlib Works(matplotlib-journey.com ↗)

2 points · by holtzy · 1y ago · discuss

comment 2y ago · link · parent

Thanks! Glad to know it can be helpful!

6.

Show HN: Graphs with React and D3.js? The big picture(react-graph-gallery.com ↗)

5 points · by holtzy · 2y ago · 2 comments

7.

Show HN: Pypalettes –> explore and use 2500 color palettes(python-graph-gallery.com ↗)

3 points · by holtzy · 2y ago · discuss

comment 2y ago · link · parent

That's the thing with wrapper libraries: amazing at the beginning, but quickly becoming frustrating.

comment 2y ago · link · parent

There aren't so many polished matplotlib charts out there. So I'm not even sure if chatGPT would be good at it.

comment 2y ago · link · parent

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/

11.

Python Chart Examples(python-graph-gallery.com ↗)

50 points · by holtzy · 2y ago · 25 comments

12.

Show HN: Can you make beautiful graphs with Python?(python-graph-gallery.com ↗)

5 points · by holtzy · 3y ago · 1 comment

comment 3y ago · link · parent

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

comment 3y ago · link · parent

All the map sections are not ready yet. But they will be soon!

comment 3y ago · link · parent

Nice thanks!

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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

d3-graph-gallery.com

comment 3y ago · link · parent

Ever heard about ggplot2 ?

www.r-graph-gallery.com

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

It's fully static and hosted on github. It won't go dark. (And I'm actively working on it :) )

comment 3y ago · link · parent

Many great books exist for d3.js.

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

comment 3y ago · link · parent

Thanks! Glad to hear this!

comment 3y ago · link · parent

Substack is just the tool I use for the newsletter!

The website is made using Next.JS

comment 3y ago · link · parent

Nope. Charts are added to the DOM using SVG or Canvas.

comment 3y ago · link · parent

You can: - call d3.axis in a useEffect - Or create your own axis component rendering some svg. It is not so hard actually.

comment 3y ago · link · parent

Thanks!

comment 3y ago · link · parent

How does Svelte makes the code more declarative and Componentized than with React ?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Thanks a lot for the nice feedback!
12