Spreadsheets with Reveal.js

Created by Asvin Goel

Comma separated input

1,=A1,3 4,5,6

Source code


<div class="spreadsheet" data-rows="5" data-cols="4">
1,=A1,3
4,5,6
</div>

Tab separated input

=$B$2 'Maserati' "Mazda" "Mercedes" "Mini" =A$1 2009 0 2941 4303 354 5814 2010 5 2905 2867 =SUM(A4,2,3) =$B1 2011 4 2517 4822 552 6127 2012 =SUM(A2:A5) =SUM(B5,E3) =A2/B2 12 4151

Source code


<div class="spreadsheet" data-delimiter="	">
=$B$2	'Maserati'	"Mazda"	"Mercedes"	"Mini"	=A$1
2009	0	2941	4303	354	5814
2010	5	2905	2867	=SUM(A4,2,3)	=$B1
2011	4	2517	4822	552	6127
2012	=SUM(A2:A5)	=SUM(B5,E3)	=A2/B2	12	4151
</div>

File input

Source code


<div class="spreadsheet" data-csv="data.csv" data-width="100"  data-fontsize="16">
</div>

Credits

The spreadsheet is inspired by the Excel-like app by Ondřej Žára and uses the RuleJS library to parse Excel formulas.

Supported formulas

The end

Check out other plugins by clicking on    and then on "Plugins ".

Have a look at the source code & documentation on Github.

Download Star
Fork me on GitHub