metzgr / data-story-template Goto Github PK
View Code? Open in Web Editor NEWData story template
Data story template
Hi @ckelley-air,
OCO pointed out it wasn't clear the legend could be interacted with and we agreed to add a hover state. Can we have the triangle appear on hover and not just selection?
Thanks!
Ivan
Hi Noah or Claire,
Can you fix this? Looks like the viz style css isn't being applied to the charts. Thanks!
Best,
Ivan
Hi Noah,
I'm having troubling styling the map legends for some reason. Easy enough to center them but I'm unable to lower the legend values so that they're 4 pixels below the legend segments.
Could you do the following?
Let me know if you can do by 3PM. Thanks!!
The div for school type (#chart2_content_1 ) seems to go way out on the right past the column layout. Im not confident enough in my html to fix this.
Have the basic markup in place
Hi all,
Can we make sure the tooltips are working for today's 3PM with OCO? Thanks!
Add in new text to template
Let me think about this.
Hi @ckelley-air ,
OCO thought mixing the subgroups muddled the story, which I agree with. Could we break out the gender enrollment chart into a vertical (instead of horizontal bar) chart?
Ivan
@fnick851 Thanks again for your help fixing issues with my javascript! I noticed now that the screen doesn't darken when pulling up a call-out box. Could you take a look? And while you're doing that, could you have the screen darken over the nav bar? Might be able to solve with z-index
Please let me know. Thanks!
e.g., dull uninteresting segments and heighten saturation for interesting patterns. Let me think about this a little bit.
Something's falling flat
Our meeting with OCO was pulled down today; however, we still want to circulate the link to the webpage by EOD.
Could you merge in the narrative (everything that should go after title-card)? You might want to use this word-to-html converter https://wordtohtml.net/ because it'll automatically link footnotes.
I'll leave a note that we're still optimizing chart sizing but the narrative should at least be in place. Please let me know if you can do that first and then turn to other stuff. Thanks!!
We're already getting some feedback that my progress bar solution still doesn't perfectly satisfy people's interest in knowing where they are in the story.
I think a better approach might to change the header into a table of contents on scroll. I'm wondering if you could repurpose this code https://www.w3schools.com/howto/howto_js_navbar_shrink_scroll.asp to hide "U.S. Department of Education" and replace with a horizontal table of contents on scroll.
We just need three items in small font to appear:
WHY ALGEBRA I
WHO HAS ACCESS & WHERE
WHO ENROLLS & WHERE
And some kind of indicator when you're in each section. Let's discuss if you're able to talk today. Thanks!
Make unexpected findings about rural access and female enrollment "pop more." I'll need to think about this some.
The introductory section animates in but can look choppy on slower networks.
The animations should be delayed until the page loads. I've already added a preloader (currently commented out in master). Uncomment it out in the index file and you'll see that it plays and disappears after page load. However, I'm having trouble figuring out how to delay the animations until the page load/after the loader disappears.
Noah, can you take a look at loader.js? Not sure how to accomplish this
Claire, could you do the first action item? I can do the rest.
Century Foundation uses Google Spreadsheets in their reports and I really like that approach. I don't think we need to provide heavily formatted tables; the CSVs are cleaner, more straightforward, and sync with our emphasis on open (machine-readable) data. Also, the spreadsheet iframe allows us to include data tables for the maps.
Omg my WiFi at work is down so have to write this from phone...
When working on responsiveness I noticed sometimes the charts got too big or too small. I think we need to adjust the iframe approach, which I thought was standard but it looks like in our old data story series we didn’t use them. The charts should default to the font sizes/bar widths/etc. specs from the mock-up (except for width; that can be 100 percent, which should t affect height for any of the charts except for the map). Those can be the “max” values. At screen 1050px we switch to a smaller font in the body and we can do the same for the charts. On mobile, there might be more tweaking to do. Can we first set up media queries for the d3 and work from there? Check out the media queries in the grid responsiveness file if you want to use some of those.
The error copied as follow:
scroll.js:13 Uncaught TypeError: Cannot set property 'innerHTML' of null
at HTMLDocument. (scroll.js:13)
Could you resolve this? @metzgr
It is making console log very hard to use.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.