Skip to content

Commit

Permalink
new CC to fix TOC; Mastodon footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDougherty committed Dec 22, 2024
1 parent bbf8e21 commit c0f9307
Show file tree
Hide file tree
Showing 142 changed files with 575 additions and 703 deletions.
2 changes: 1 addition & 1 deletion 16-fix.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ When working with [Chart.js and Highcharts code templates in Chapter 11](chartco

If you delete all of the contents of a GitHub repo folder, that action also deletes the folder, because GitHub does not keep track of empty folders. To create a new folder in your GitHub repo, go to *Add file - Create new file*, then type the folder name followed by a slash (such as `media/`), then type a temporary file name (such as `temp.md`) to serve as a placeholder so that your new folder will not be empty. Now you can upload files into your new GitHub repo folder.

Remember that you can edit and test code templates more efficiently on your *local* computer, rather than upload every change to view on GitHub online. Use the [GitHub Desktop and Atom Editor tools as described in Chapter 10](github-desktop-atom.html). To fully view more complex Chart.js or Highcharts or Leaflet code templates on your *local* computer, you may need to temporarily manage your CORS internet security settings in your browser, as shown in Figure \@ref(fig:disable-cors-safari) and Figure \@ref(fig:disable-cors-chrome).
Remember that you can edit and test code templates more efficiently on your *local* computer, rather than upload every change to view on GitHub online. Use the [GitHub Desktop and Atom Editor tools as described in Chapter 10](github-desktop-atom.html). To fully view more complex Leaflet code templates on your *local* computer, you may need to temporarily manage your CORS internet security settings in your browser.

Over time, code templates require maintenance to ensure that they will continue to work as technology evolves. For example, the code templates featured in this book all have *code dependencies*, which means they rely on other code or online services in order to operate. These dependencies include online code libraries that create charts and maps, such as Chart.js, Leaflet, and others. Also, map code templates depend on online map tiles from providers such as CARTO, Stamen, and OpenStreetMap. *If one of your online code dependencies is no longer operating*, your code template probably will stop working.

Expand Down
1 change: 1 addition & 0 deletions book.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: c8972d27-072e-4728-a85b-2c9ac24ee670

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down
9 changes: 4 additions & 5 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand All @@ -400,8 +400,7 @@ <h1>Page not found</h1>
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
9 changes: 4 additions & 5 deletions docs/alternative.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand Down Expand Up @@ -421,8 +421,7 @@ <h2>Alternative Book Publishing Tools<a href="alternative.html#alternative" clas
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
9 changes: 4 additions & 5 deletions docs/annotated-datawrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand Down Expand Up @@ -451,8 +451,7 @@ <h2>- Annotated Charts<a href="annotated-datawrapper.html#annotated-datawrapper"
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
9 changes: 4 additions & 5 deletions docs/audience-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand Down Expand Up @@ -430,8 +430,7 @@ <h3>Chapter Outline<a href="audience-overview.html#chapter-outline" class="ancho
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
11 changes: 5 additions & 6 deletions docs/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand All @@ -396,7 +396,7 @@ <h2>Authors &amp; Acknowledgements<a href="authors.html#authors" class="anchor-s
<tbody>
<tr class="odd">
<td><img src="images/0-preface/dougherty-jack-200.png" /></td>
<td>Jack Dougherty is Professor of Educational Studies at Trinity College in Hartford, Connecticut. He teaches a data visualization course where students partner with community organizations to help them tell their stories online with interactive charts and maps. Trained as a historian, Jack learned data visualization to share evidence more widely about cities, suburbs, and schools over time for his <em><a href="https://ontheline.trincoll.edu">On The Line</a></em> book. Visit <a href="https://jackdougherty.org">his website</a> or follow him on <a href="https://mstdn.social/@jackdougherty%22">Mastodon</a>.</td>
<td>Jack Dougherty is Professor of Educational Studies at Trinity College in Hartford, Connecticut. He teaches a data visualization course where students partner with community organizations to help them tell their stories online with interactive charts and maps. Trained as a historian, Jack learned data visualization to share evidence more widely about cities, suburbs, and schools over time for his <em><a href="https://ontheline.trincoll.edu">On The Line</a></em> book. Visit <a href="https://jackdougherty.org">his website</a> to email or follow him on social media.</td>
</tr>
<tr class="even">
<td><img src="images/0-preface/ilyankou-ilya-200.png" /></td>
Expand Down Expand Up @@ -426,8 +426,7 @@ <h3>Acknowledgements<a href="authors.html#acknowledgements" class="anchor-sectio
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
9 changes: 4 additions & 5 deletions docs/bad-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Ilya Ilyankou" />


<meta name="date" content="2024-12-18" />
<meta name="date" content="2024-12-22" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -370,13 +370,13 @@ <h1>

<section class="normal" id="section-">
<header>

<p style="background-color: #0057B8; margin: 0; padding: 10px 20px; color: white; text-align: center">
#StandWithUkraine - Stop the Russian invasion
</p>

<p style="background-color: #FFD700; margin: 0; padding: 10px 20px; text-align: center">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>. <link rel="me" href="https://mstdn.social/@jackdougherty">
Join us and donate. We are contributing all book royalties from 2022 to present to:<br> <a href="https://savelife.in.ua/en/donate/" target="_blank">Save Life in Ukraine</a> and <a href="https://www.dec.org.uk/appeal/ukraine-humanitarian-appeal" target="_blank">Ukraine Humanitarian Appeal</a>.
</p>

</header>
Expand Down Expand Up @@ -424,8 +424,7 @@ <h2>Recognize Bad Data<a href="bad-data.html#bad-data" class="anchor-section" ar
<a href="https://bookshop.org/books/hands-on-data-visualization-interactive-storytelling-from-spreadsheets-to-code/9781492086000">Bookshop</a> -
<a href="https://www.powells.com/book/hands-on-data-visualization-9781492086000">Powell's</a> - or your local bookstore.<br>
Or begin a 30-day free trial to all books and digital content on the <a href="https://learning.oreilly.com/get-learning/?code=HODV21">O'Reilly online learning platform</a>.<br>
Share your feedback about the book by tagging <a href="https://twitter.com/handsondataviz" target="_blank">@handsondataviz on Twitter</a> or
<a href="https://handsondataviz.org/authors.html">contact the authors</a>.
Share your feedback about the book by <a href="https://handsondataviz.org/authors.html">contacting the authors</a> or tagging <a rel="me" href="https://mstdn.social/@jackdougherty" target="_blank">https://mstdn.social/@jackdougherty</a> on the Fediverse.
</p>

<p style="color: rgba(0,0,0,0.4)">
Expand Down
Loading

0 comments on commit c0f9307

Please sign in to comment.