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
<script> | |
import { select, selectAll } from "d3-selection"; | |
import { axisBottom, axisLeft } from "d3-axis"; | |
import { timeFormat } from "d3-time-format"; | |
export let innerHeight; | |
export let margin; | |
export let position; | |
export let scale; |
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
<script> | |
import { select, selectAll } from "d3-selection"; | |
import { axisBottom, axisLeft } from "d3-axis"; | |
import { timeFormat } from "d3-time-format"; | |
export let innerHeight; | |
export let margin; | |
export let position; | |
export let scale; |
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
<script> | |
import { csv, extent, scaleLinear, scaleOrdinal } from "d3"; | |
import { onMount } from "svelte"; | |
import Axis from "./Axis.svelte"; | |
import { petalPaths } from "./paths"; | |
let dataset = []; | |
const row = function (data) { | |
data.sepal_length = +data.sepal_length; |
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
<script> | |
import { csv, extent, scaleLinear, scaleOrdinal } from "d3"; | |
import { onMount } from "svelte"; | |
import Axis from "./Axis.svelte"; | |
let dataset = []; | |
const row = function (data) { | |
data.sepal_length = +data.sepal_length; | |
data.sepal_width = +data.sepal_width; |
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
<script> | |
import { csv, scaleBand, scaleLinear, max } from "d3"; | |
import { onMount } from "svelte"; | |
import { fly } from "svelte/transition"; | |
let dataset = []; | |
const row = function (data) { | |
data["Population"] = +data["2020"] * 1000; // + here is the unary conversion operator | |
return data; | |
}; |
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
padding=('SAME' if strides == 1 else 'VALID') |
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
Specification | Keyword | RGB hex value | |
---|---|---|---|
CSS Level 1 | black | #000000 | |
CSS Level 1 | silver | #c0c0c0 | |
CSS Level 1 | gray | #808080 | |
CSS Level 1 | white | #ffffff | |
CSS Level 1 | maroon | #800000 | |
CSS Level 1 | red | #ff0000 | |
CSS Level 1 | purple | #800080 | |
CSS Level 1 | fuchsia | #ff00ff | |
CSS Level 1 | green | #008000 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
fig.add_annotation(x=223,y=1.04,text="1.04m of snow in 1982 is the absolute record",showarrow=True) | |
fig.show() |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.