Link missing! "How up to date is the book? The book is up to date with the latest version of D3" That page is not found.
Interactive Charts with D3
11–20 of 33 posts
Re: Interactive Charts with D3
#12Is there a tutorial somewhere that goes over how to make the interactive editor on the right of the blog post? That is super cool!
I found the non-minified .jsx [1] for it though, if you're into that.
[1] https://gist.github.com/stackola/6e0afcfab8048152426f387e1ce...
Re: Interactive Charts with D3
#13This website shows everything that's amazing about the internet and about web development, when done right. There are no popups, cookie warnings, ads or other cruft. It's informative, exquisitely designed, interactive in the right places, it loads fast and everything fits together perfectly. I'm in awe.
Well - when I get the tooltip of one of the rightmost bars, I get horizontal scrollbars. That much for "done right"
Re: Interactive Charts with D3
#14Is there a tutorial somewhere that goes over how to make the interactive editor on the right of the blog post? That is super cool!
There are some interesting bits in there - the basic structure is:
- the post itself is at src/Interactions
- the code changes using a ScrollEvent component (src/_ui/Code)
- the code examples (inline and fixed on the right) are using the Code component (src/_ui/Code)
- the inline demos are using the LocalExample component (src/_ui/LocalExample). The LocalExample component basically builds an iframe and displays it
Both of these components support:
- a list of lines that are removed
- a list of lines that are added
I've been liking that this setup lets me have complete examples that work as standalone web pages, but I can also edit them on the fly and work through changes on-the-fly. Which lets me talk about interim states [like this one](https://github.com/Wattenberger/blog/blob/master/src/Interac...).
I'm happy to answer any questions about it, the code is a bit messy :)
Re: Interactive Charts with D3
#15in your Terminal, start a server in the examples/ folder there is no examples/ folder in github repo. Nice.
Re: Interactive Charts with D3
#16This website shows everything that's amazing about the internet and about web development, when done right. There are no popups, cookie warnings, ads or other cruft. It's informative, exquisitely designed, interactive in the right places, it loads fast and everything fits together perfectly. I'm in awe.
Well - when I get the tooltip of one of the rightmost bars, I get horizontal scrollbars. That much for "done right"
I was hoping that only happened at few enough window sizes that not many people noticed. This is an unfortunate side-effect of using iframes to show inline examples. There are a few solutions - I'm hoping to have time to work through one of them this weekend.
Re: Interactive Charts with D3
#17This website shows everything that's amazing about the internet and about web development, when done right. There are no popups, cookie warnings, ads or other cruft. It's informative, exquisitely designed, interactive in the right places, it loads fast and everything fits together perfectly. I'm in awe.
Agreed, except the font is subjectively unpleasant to read. Easy fix is to change to font-family: serif; on the App component
Re: Interactive Charts with D3
#18Re: Interactive Charts with D3
#19Re: Interactive Charts with D3
#20Link missing! "How up to date is the book? The book is up to date with the latest version of D3" That page is not found.