Skip to content

Instantly share code, notes, and snippets.

View control-sheet-test.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have columns, instead of 7. in line 5.
chart_index,section,sub_section_index,sub_section,container,question_index,question,question_label,base_chart,direct_chart,template,chart_type,label,value,facet,filter,height,title,subtitle,x_label,y_label,legend
1,Retirement,1,Plan Types,#PlanTypes,1,Does your company sponsor a 401(k) plan?,401(k),9684911,,line-bar-pie,Pie/donut chart,answer,chosen_percent,size,,100%,{{question}},,,,
2,Retirement,1,Plan Types,#PlanTypes,2,Does your company sponsor a 403(b) or 457 plan?,403(b) or 457,9778277,,line-bar-pie,Pie/donut chart,answer,chosen_percent,size,,100%,{{question}},,,,
3,Retirement,1,Plan Types,#PlanTypes,3,Does your company sponsor a Defined Benefits plan?,Defined Benefits,9684911,,line-bar-pie,Pie/donut chart,answer,chosen_percent,size,,100%,{{question}},,,,
4,Retirement,1,Plan Types,#PlanTypes,4,Does your company sponsor a Non-Qualified Deferred Compensation plan?,Non-Qualified Deferred Compensation,9778277,,,,,,,,100%,{{question}},,,,
5,Retirement,2,Plan Options,#PlanOptions,5,Does your plan offer Roth (
View data-sheet-test.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have columns, instead of 3. in line 8.
section,sub_section,question_index,year,tech,size,question,answer,count,chosen_percent,not_chosen_percent
Retirement,Plan Types,1,2022,All companies,All companies,Does your company sponsor a 401(k) plan?,No,1,1.666666667,98.33333333
Retirement,Plan Types,1,2022,All companies,All companies,Does your company sponsor a 401(k) plan?,Yes,59,98.33333333,1.666666667
Retirement,Plan Types,2,2022,All companies,All companies,Does your company sponsor a 403(b) or 457 plan?,No,58,96.66666667,3.333333333
Retirement,Plan Types,2,2022,All companies,All companies,Does your company sponsor a 403(b) or 457 plan?,Yes,2,3.333333333,96.66666667
Retirement,Plan Types,3,2022,All companies,All companies,Does your company sponsor a Defined Benefits plan?,No,51,85,15
Retirement,Plan Types,3,2022,All companies,All companies,Does your company sponsor a Defined Benefits plan?,Yes,9,15,85
Retirement,Plan Options,5,2022,All companies,All companies,Does your plan offer Roth (post-tax)?,No,10,16.66666667,83.33333333
Retirement,Plan Options,5
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>main</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="//unpkg.com/d3"></script>
<style type="text/css">
@larsvers
larsvers / .block
Last active Aug 14, 2019
scatterPlot - debug help
View .block
license: mit
@larsvers
larsvers / .block
Created Nov 26, 2018 — forked from mbostock/.block
Zoom to Bounding Box II
View .block
license: gpl-3.0
@larsvers
larsvers / Filtering Nodes
Created Aug 3, 2018 — forked from denisemauldin/Filtering Nodes
Filtering Nodes on Force-Directed Graphs (D3 V4)
View Filtering Nodes
Click to view more!
@larsvers
larsvers / .block
Last active Nov 23, 2019
A lot of post boxes - with d3-hexgrid
View .block
license: mit
height: 500
border: no
@larsvers
larsvers / .block
Last active Sep 12, 2018
Military disputes - with d3-hexgrid
View .block
license: mit
height: 500
border: no
@larsvers
larsvers / .block
Last active Jan 9, 2023
Number of cities - with d3-hexgrid
View .block
license: mit
height: 500
border: no