State unemployment rates on a tile grid
Five states had unemployment below 3%. Every state and DC is one equal tile with its rate printed, so small states read as clearly as large ones.
{
"type": "tilemap",
"data": {
"AL": 2.7,
"AK": 4.8,
"AZ": 4.7,
"AR": 4.2,
"CA": 5.3,
"CO": 3.8,
"CT": 4.8,
"DE": 5.4,
"DC": 5.7,
"FL": 4.4,
"GA": 3.5,
"HI": 2.4,
"ID": 3.6,
"IL": 5.1,
"IN": 3.6,
"IA": 3.3,
"KS": 3.8,
"KY": 4.2,
"LA": 4.4,
"ME": 3.3,
"MD": 4.3,
"MA": 4.7,
"MI": 5.1,
"MN": 4.9,
"MS": 3.8,
"MO": 4.2,
"MT": 3.6,
"NE": 3.1,
"NV": 5.1,
"NH": 3,
"NJ": 4.9,
"NM": 4.8,
"NY": 4.4,
"NC": 3.7,
"ND": 2.8,
"OH": 4,
"OK": 3.9,
"OR": 5.2,
"PA": 4.2,
"RI": 4.9,
"SC": 4.2,
"SD": 2.3,
"TN": 3.3,
"TX": 4.3,
"UT": 3.8,
"VT": 2.6,
"VA": 3.8,
"WA": 5.1,
"WV": 4.5,
"WI": 4,
"WY": 3.8
},
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
}import { TileMap } from "@opendata-ai/openchart-react";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": "\u0000demo-fold:0",
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
export function Example() {
return <TileMap spec={spec} />;
}
import { TileMap } from "@opendata-ai/openchart-react";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": {/* 51 entries, as in the Spec tab; Copy includes them */},
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
export function Example() {
return <TileMap spec={spec} />;
}
<script setup lang="ts">
import { TileMap } from "@opendata-ai/openchart-vue";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": "\u0000demo-fold:0",
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
</script>
<template>
<TileMap :spec="spec" />
</template>
<script setup lang="ts">
import { TileMap } from "@opendata-ai/openchart-vue";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": {/* 51 entries, as in the Spec tab; Copy includes them */},
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
</script>
<template>
<TileMap :spec="spec" />
</template>
<script lang="ts">
import { TileMap } from "@opendata-ai/openchart-svelte";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": "\u0000demo-fold:0",
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
</script>
<TileMap {spec} />
<script lang="ts">
import { TileMap } from "@opendata-ai/openchart-svelte";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": {/* 51 entries, as in the Spec tab; Copy includes them */},
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
</script>
<TileMap {spec} />
import { createTileMap } from "@opendata-ai/openchart-vanilla";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": "\u0000demo-fold:0",
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
const container = document.getElementById("chart");
if (!container) throw new Error('Add <div id="chart"></div> to the page first.');
createTileMap(container, spec);
import { createTileMap } from "@opendata-ai/openchart-vanilla";
import type { TileMapSpec } from "@opendata-ai/openchart-core";
import "@opendata-ai/openchart-core/styles.css";
const spec: TileMapSpec = {
"type": "tilemap",
"data": {/* 51 entries, as in the Spec tab; Copy includes them */},
"palette": "blue",
"valueFormat": ".1f",
"chrome": {
"title": "Unemployment was below 3% in five states",
"subtitle": "Each tile is one state or DC. Unemployment rate, seasonally adjusted, most recent month in the BLS release (%)"
}
};
const container = document.getElementById("chart");
if (!container) throw new Error('Add <div id="chart"></div> to the page first.');
createTileMap(container, spec);