Skip to content

Instantly share code, notes, and snippets.

View blehman's full-sized avatar

Brian Lehman blehman

  • Viz Farm LLC
  • Boulder, CO
View GitHub Profile
@blehman
blehman / lda_coherence_scores.json
Created March 28, 2024 19:46
Coherence Scores (baseline interactive legend)
{
"config": {
"view": {"continuousWidth": 300, "continuousHeight": 300},
"axis": {"titleFont": "Courier", "titleFontSize": 15},
"axisBottom": {
"labelColor": "gray",
"titleColor": "gray",
"titleFont": "Courier"
},
"axisLeft": {
@blehman
blehman / lda_coherence_scores.json
Created March 26, 2024 19:13
Coherence Scores (CorEx Comp)
{
"config": {
"view": {"continuousWidth": 300, "continuousHeight": 300},
"axis": {"titleFont": "Courier", "titleFontSize": 15},
"axisBottom": {
"labelColor": "gray",
"titleColor": "gray",
"titleFont": "Courier"
},
"axisLeft": {
@blehman
blehman / lda_coherence_scores.json
Created March 26, 2024 18:55
Coherence Scores (baseline)
{
"config": {
"view": {"continuousWidth": 300, "continuousHeight": 300},
"axis": {"titleFont": "Courier", "titleFontSize": 15},
"axisBottom": {
"labelColor": "gray",
"titleColor": "gray",
"titleFont": "Courier"
},
"axisLeft": {
@blehman
blehman / lda_coherence_scores.json
Created March 26, 2024 18:49
Coherence Scores (broken chart)
{
"config": {
"view": {"continuousWidth": 300, "continuousHeight": 300},
"axis": {"titleFontSize": 15},
"legend": {
"labelFont": "Courier",
"labelFontSize": 15,
"labelOverlap": false,
"symbolSize": 400,
"symbolStrokeWidth": 5,
@blehman
blehman / README.md
Last active March 28, 2019 05:12
Bubble chart w/ stopped force

Stopped force

As a React test project, this bl.ock was converted into React components for Boulder's D3js Meetup.

@blehman
blehman / .block
Created August 6, 2018 19:56 — forked from curran/.block
Aggregated Foreign born population in Canada
license: mit
border: no
@blehman
blehman / .block
Created August 6, 2018 19:40 — forked from ColinEberhardt/.block
London Marathon 2016 Pacing vs. Finish Time
license: mit
@blehman
blehman / .block
Created June 8, 2018 16:39 — forked from mbostock/.block
Density Contours II
license: gpl-3.0
height: 960
@blehman
blehman / Readme.md
Last active April 6, 2018 17:58
Circular Layout - d3.v5

Circular Layout

This example takes Mike Bostock's original circular layout to D3.v5. Some code was left in this example as a talking point for discussing d3.v5 and reusable charts.

Features

Reusable charts

The idea here is to implement the reusable chart technique; however, this technique is only setup in this example and not actually used.

D3.V5

The use of Promise.all() does pull data, but this example does not use this data in the actual visualization. Hopefully, this example's usage of promise will be helpful for iterative thinking and lay the groundwork for what our community will improve.

@blehman
blehman / README.md
Created March 12, 2017 01:00
Voronoi of the 50 largest urban areas in the US (d3.v4)