-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fil/href-assets
- Loading branch information
Showing
879 changed files
with
61,490 additions
and
9,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"resolve": { | ||
"extensions": [".js", ".jsx"] | ||
}, | ||
"env": { | ||
"browser": true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"projectId": "497663d656fa5557", | ||
"workspaceLogin": "observablehq", | ||
"projectSlug": "cli" | ||
"projectId": "b385d10b723e37b6", | ||
"projectSlug": "framework", | ||
"workspaceLogin": "observablehq" | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import * as Plot from "npm:@observablehq/plot"; | ||
import {FileAttachment, resize} from "observablehq:stdlib"; | ||
|
||
export async function Chart() { | ||
const gistemp = await FileAttachment("./lib/gistemp.csv").csv({typed: true}); | ||
return resize((width) => | ||
Plot.plot({ | ||
width, | ||
y: {grid: true}, | ||
color: {scheme: "burd"}, | ||
marks: [Plot.dot(gistemp, {x: "Date", y: "Anomaly", stroke: "Anomaly"}), Plot.ruleY([0])] | ||
}) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export function Card({title, children} = {}) { | ||
return ( | ||
<div className="card"> | ||
{title ? <h2>{title}</h2> : null} | ||
{children} | ||
</div> | ||
); | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.