Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan authored Apr 3, 2024
1 parent 49c3b72 commit 5805581
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions _posts/2017-09-01-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ jekyll-theme-WuK:
{% assign json_data = json_data | remove_first: "," %}
{
"data": { "values": {{ json_data }} },
"encoding": {
"theta": {"field": "count", "type": "ordinal", "stack": true},
"radius": {"field": "count", "scale": {"type": "sqrt", "zero": true, "rangeMin": 20}},
"color": {"field": "tags", "type": "nominal", "legend": null}
},
"layer": [{
"mark": {"type": "arc", "innerRadius": 20, "stroke": "#fff"}
"mark": {"type": "arc", "tooltip": true, "innerRadius": 20, "stroke": "White"}
},{
"mark": {"type": "text", "radiusOffset": 10},
"encoding": {
"text": {"field": "count", "type": "quantitative"}
}
}],
"encoding": {
"theta": {"field": "count", "type": "quantitative", "stack": true},
"radius": {"field": "count", "scale": {"type": "sqrt", "zero": true, "rangeMin": 20}},
"color": {"field": "tags", "type": "nominal"}
}
}]
}
```

Expand Down

0 comments on commit 5805581

Please sign in to comment.