Show HN: Understand How Matplotlib Worksmatplotlib-journey.com2 points·by holtzy·2 years ago·0 comments
Show HN: Graphs with React and D3.js? The big picturereact-graph-gallery.com5 points·by holtzy·2 years ago·2 comments
Show HN: Pypalettes –> explore and use 2500 color palettespython-graph-gallery.com3 points·by holtzy·2 years ago·0 comments
Show HN: Can you make beautiful graphs with Python?python-graph-gallery.com5 points·by holtzy·3 years ago·1 comments
Show HN: A gallery of graphs built with React and D3.jsreact-graph-gallery.com297 points·by holtzy·3 years ago·61 comments
holtzy·5 months ago·discussNo idea what this means. Having 8 AI reading my website instead of humans makes me quite sad. What a weird world we live in!
holtzy·2 years ago·discussThat's the thing with wrapper libraries: amazing at the beginning, but quickly becoming frustrating.
holtzy·2 years ago·discussThere aren't so many polished matplotlib charts out there. So I'm not even sure if chatGPT would be good at it.
holtzy·2 years ago·discussThere 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/
holtzy·3 years ago·discussThis 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
holtzy·3 years ago·discussAnimation 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!
holtzy·3 years ago·discussIf 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" - renderingMath functions cannot be avoided for sure
holtzy·3 years ago·discussI also have the d3 graph gallery. It shows only simple charts which ease the learning curved3-graph-gallery.com
holtzy·3 years ago·discussI 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.
holtzy·3 years ago·discussIt's fully static and hosted on github. It won't go dark. (And I'm actively working on it :) )
holtzy·3 years ago·discussMany great books exist for d3.js.For d3.js AND react, it is missing for now IMO
holtzy·3 years ago·discussSubstack is just the tool I use for the newsletter!The website is made using Next.JS
holtzy·3 years ago·discussYou can: - call d3.axis in a useEffect - Or create your own axis component rendering some svg. It is not so hard actually.