Commit a836b78d by Danyel Fisher

some tweaks for better display; moved aux files to subdir

parent f8e51c1e
npm-debug.log
node_modules/**
\ No newline at end of file
node_modules/**
png/**
svg/**
scripts/*.bash
\ No newline at end of file
......@@ -10,7 +10,7 @@
<script src="node_modules/vega-lite/build/vega-lite.js"></script>
<script src="node_modules/vega-embed/vega-embed.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.7/vega.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.6/vega.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.0-rc5/vega-lite.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-rc6/vega-embed.js"></script>
</head>
......
{
"dependencies": {
"canvas": "^1.6.7",
"vega": "^3.0.7",
"vega-embed": "^3.0.0-rc6",
"vega-lite": "^2.0.0-rc5"
......
......@@ -5,7 +5,7 @@
"data": {"url": "data/complaints.csv", "format": {"type": "csv"}},
"mark": "line",
"encoding": {
"x": {"timeUnit": "yearmonth", "field": "Date received", "type": "temporal"},
"x": {"timeUnit": "yearmonth", "field": "Date received", "type": "temporal", "axis":{"title": "Date Received"}},
"y": {"aggregate": "count", "type": "quantitative"}
}
}
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"config": {"background":"#ffffff"},
"data": {"url": "data/complaints.csv", "format": {"type": "csv"}},
"width": 600,
"data": {"url": "data/complaints.csv", "format": {"type": "csv"}},
"mark": "area",
"encoding": {
"x": {
......
......@@ -59,22 +59,14 @@
"data": [
{
"name": "node-data",
"url": "data/miserables.json",
"format": {"type": "json", "property": "nodes"},
"transform": [
{ "type": "filter",
"expr": "datum.index < numNodes" }
]
"url": "data/miserables.small.json",
"format": {"type": "json", "property": "nodes"}
},
{
"name": "link-data",
"url": "data/miserables.json",
"url": "data/miserables.small.json",
"format": {"type": "json", "property": "links"},
"transform": [
{ "type": "filter",
"expr": "datum.source < numNodes" },
{ "type": "filter",
"expr": "datum.target < numNodes" }
]
}
],
......
......@@ -53,7 +53,7 @@
"update": {
"shape": {"value": "square"},
"stroke": {"value": "#ccc"},
"strokeWidth": {"value": 0.2}
"strokeWidth": {"value": 5}
}
}
}
......
{
"$schema": "https://vega.github.io/schema/vega/v3.0.json",
"name": "wordcloud",
"width": 800,
"height": 400,
"width": 900,
"height": 500,
"padding": 0,
"data": [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment