Skip to content

Commit

Permalink
chore: render
Browse files Browse the repository at this point in the history
  • Loading branch information
muziejus committed Dec 16, 2024
1 parent c3aaae9 commit 9744d20
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="author" content="Sophie Wagner (sw3767)">
<meta name="author" content="Moacir P. de Sá Pereira (mpd2149)">
<meta name="dcterms.date" content="2024-12-12">
<meta name="dcterms.date" content="2024-12-16">

<title>“It’s Too Nice Out to Take a Cab”: Weather and Taxi Usage in New York, 2019–2024</title>
<style>
Expand Down Expand Up @@ -221,7 +221,7 @@ <h1 class="title">“It’s Too Nice Out to Take a Cab”: Weather and Taxi Usag
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">December 12, 2024</p>
<p class="date">December 16, 2024</p>
</div>
</div>

Expand Down
Binary file modified docs/results_files/figure-html/unnamed-chunk-20-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/results_files/figure-html/unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions docs/scripts/myscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ let temperature = 20;
NA is indicated by "NA." Should only affect temp. change.
*/
const csvRaw = await d3.csv("../data-for-d3.csv");
const dataUrl = "https://raw.githubusercontent.com/sophiewagner7/its-too-nice-out-to-take-a-cab/refs/heads/main/data-for-d3.csv"
// const csvRaw = await d3.csv("../data-for-d3.csv");
const csvRaw = await d3.csv(dataUrl);
const csvData = csvRaw.map(
({ temperature, temperature_change_since_prev_day, month, trip_count }) => (
{
Expand Down Expand Up @@ -152,4 +154,4 @@ const standardize = (value, y) => {
}

// Initial run
makeChart(temperature, csvData);
makeChart(temperature, csvData);

0 comments on commit 9744d20

Please sign in to comment.