omit compression

main
gman 1 year ago
parent 1f2d4ff22a
commit 2809953655

173904
dist/2023-12-01.csv vendored

File diff suppressed because it is too large Load Diff

Binary file not shown.

173904
dist/2023-12-02.csv vendored

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

27
dist/index.html vendored

@ -1,14 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-9alGvXI7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CWCiBtGb.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Демо | Население Москвы</title>
<script type="module" crossorigin src="/assets/index-CNEkaNgL.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CWCiBtGb.css">
</head>
<body>
<div id="root"></div>
</body>
</html>

@ -1,13 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Демо | Население Москвы</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

@ -19,27 +19,18 @@ function App() {
const { isPending, error, data } = useQuery({
queryKey: [day],
queryFn: () => load(`./${day}.csv.gz`, CSVLoader, { csv: {} }),
queryFn: () => load(`./${day}.csv`, CSVLoader, { csv: {} }),
})
if (error) {
console.log(error)
}
const layers = [
new ScatterplotLayer({
id: 'deckgl-circle',
data: [
{ position: [0.45, 51.47] }
],
getPosition: d => d.position,
getFillColor: [255, 0, 0, 100],
getRadius: 1000,
}),
const layers = isPending ? [] : [
new GridCellLayer({
id: 'deckgl-grid',
//@ts-ignore
data: isPending ? [] : data.data,
data: data.data,
getPosition: d => [d.x, d.y],
//@ts-ignore
getFillColor: d => colorScale(d[attr]).slice(4, -1).split(", ").map(Number),

Loading…
Cancel
Save