-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
380 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts bar" style="--scale: 3000"> | ||
<caption id="caption-1">[…]</caption> | ||
<thead class="sr-only"> | ||
<tr> | ||
<td></td> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<td style="--value: 4"> | ||
<span>[…]</span> | ||
</td> | ||
</tr> | ||
<tr>[…]</tr> | ||
</tbody> | ||
<caption id="caption-1">[…]</caption> | ||
<thead class="sr-only"> | ||
<tr> | ||
<td></td> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<td style="--value: 4"> | ||
<span>[…]</span> | ||
</td> | ||
</tr> | ||
<tr>[…]</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts column" id="column" style="--y: 7;"> | ||
<caption id="caption-7">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<th scope="col" style="--value: 62;">Chrome</th> | ||
<th scope="col" style="--value: 15;">Firefox</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<td style="--value: 62;"><span>62%</span></td> | ||
<td style="--value: 15;"><span>15%</span></td> | ||
</tr> | ||
</tbody> | ||
<caption id="caption-7">[…]</caption> | ||
<colgroup> | ||
<col> | ||
<col> | ||
<col> | ||
<col> | ||
<col> | ||
<col> | ||
<col> | ||
</colgroup> | ||
<thead> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<th scope="col" style="--value: 62;">Chrome</th> | ||
<th scope="col" style="--value: 15;">Firefox</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row">[…]</th> | ||
<td style="--value: 62;"><span>62%</span></td> | ||
<td style="--value: 15;"><span>15%</span></td> | ||
</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts column-multiple" id="column-multiple" style="--y: 11; --span: 2;"> | ||
<caption id="caption-8">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="row" id="browser">[…]</th> | ||
<th scope="col" colspan="2" id="chrome">Chrome</th> | ||
</tr> | ||
<tr> | ||
<th scope="row" id="year">[…]</th> | ||
<th scope="col" id="chrome-2018">2018</th> | ||
<th scope="col" id="chrome-2019">2019</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row" id="parts">[…]</th> | ||
<td style="--value: 50;" headers="browser chrome year chrome-2018"><span>49.6%</span></td> | ||
<td style="--value: 57;" headers="browser chrome year chrome-2019"><span>57%</span></td> | ||
</tr> | ||
</tbody> | ||
<caption id="caption-8">[…]</caption><colgroup> | ||
<col> | ||
<col span="2"> | ||
<col span="2"> | ||
<col span="2"> | ||
<col span="2"> | ||
<col span="2"> | ||
</colgroup> | ||
<thead> | ||
<tr> | ||
<th scope="row" id="browser">[…]</th> | ||
<th scope="col" colspan="2" id="chrome">Chrome</th> | ||
</tr> | ||
<tr> | ||
<th scope="row" id="year">[…]</th> | ||
<th scope="col" id="chrome-2018">2018</th> | ||
<th scope="col" id="chrome-2019">2019</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row" id="parts">[…]</th> | ||
<td style="--value: 50;" headers="browser chrome year chrome-2018"><span>49.6%</span></td> | ||
<td style="--value: 57;" headers="browser chrome year chrome-2019"><span>57%</span></td> | ||
</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<pre class="scrollable-container"><code class="language-javascript">document.addEventListener("DOMContentLoaded", function() { | ||
var switches = document.querySelectorAll('[role="switch"]'); | ||
var switches = document.querySelectorAll('[role="switch"]'); | ||
|
||
Array.prototype.forEach.call(switches, function(el, i) { | ||
el.addEventListener('click', function() { | ||
var checked = this.getAttribute('aria-checked') == 'true' || false; | ||
this.setAttribute('aria-checked', !checked); | ||
Array.prototype.forEach.call(switches, function(el, i) { | ||
el.addEventListener('click', function() { | ||
var checked = this.getAttribute('aria-checked') == 'true' || false; | ||
this.setAttribute('aria-checked', !checked); | ||
|
||
var chart = this.parentNode.nextElementSibling; | ||
chart.classList.toggle('table-charts'); | ||
}); | ||
}); | ||
var chart = this.parentNode.nextElementSibling; | ||
chart.classList.toggle('table-charts'); | ||
}); | ||
}); | ||
});</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts line" style="--y: 32; --x: 13; --t-1: 'Jan.'; --t-2: 'Feb.'; […]"> | ||
<caption id="caption-3">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">Jan.</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--year: '2017'; --1: 8; --2: 6; --3: 9; --4: 12; --5: 15; --6: 21; --7: 24; --8: 25; --9: 22; --10: 19; --11: 14; --12: 9;"> | ||
<th scope="row">2017</th> | ||
<td>8 °C</td> | ||
<td>[…]</td> | ||
</tr> | ||
</tbody> | ||
<caption id="caption-3">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">Jan.</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--year: '2017'; --1: 8; --2: 6; --3: 9; --4: 12; --5: 15; --6: 21; --7: 24; --8: 25; --9: 22; --10: 19; --11: 14; --12: 9;"> | ||
<th scope="row">2017</th> | ||
<td>8 °C</td> | ||
<td>[…]</td> | ||
</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts pie"> | ||
<caption id="caption-5">[…]</caption> | ||
<thead class="sr-only"> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--color: var(--chaarts-purple); --term: 'HTML';"> | ||
<th scope="row">HTML</th> | ||
<td style="--value: 2; --start: 0;">2 %</td> | ||
</tr> | ||
<tr>[…]</tr> | ||
</tbody> | ||
<caption id="caption-5">[…]</caption> | ||
<thead class="sr-only"> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--color: var(--chaarts-purple); --term: 'HTML';"> | ||
<th scope="row">HTML</th> | ||
<td style="--value: 2; --start: 0;">2 %</td> | ||
</tr> | ||
<tr>[…]</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<pre class="scrollable-container" data-line="8"><code class="language-css">td[style*="--value: 44;"]::before { | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
95.2413525% 71.2889645%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50% | ||
); | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
95.2413525% 71.2889645%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50% | ||
); | ||
}</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<pre class="scrollable-container" data-line="10"><code class="language-css">td[style*="--value: 64;"]::before { | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
100% 100%, | ||
0% 100%, | ||
11.474338% 81.8711995%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50% | ||
); | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
100% 100%, | ||
0% 100%, | ||
11.474338% 81.8711995%, | ||
50% 50%, | ||
50% 50%, | ||
50% 50% | ||
); | ||
}</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<pre class="scrollable-container" data-line="12"><code class="language-css">td[style*="--value: 88;"]::before { | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
100% 100%, | ||
0% 100%, | ||
0% 50%, | ||
0% 0%, | ||
15.7726445% 13.5515685%, | ||
50% 50% | ||
); | ||
clip-path: polygon( | ||
50% 50%, | ||
50% 0%, | ||
100% 0%, | ||
100% 50%, | ||
100% 100%, | ||
100% 100%, | ||
0% 100%, | ||
0% 50%, | ||
0% 0%, | ||
15.7726445% 13.5515685%, | ||
50% 50% | ||
); | ||
}</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts radar" id="radar" style="--scale: 20; --step: 5; --items: 7; --1: 14; --2: 11; --3: 13; --4: 16; --5: 10; --6: 12; --7: 4; --8: var(--1);"> | ||
<caption id="caption-9">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><span>14</span></td> | ||
<td><span>11</span></td> | ||
</tr> | ||
</tbody> | ||
<caption id="caption-9">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><span>14</span></td> | ||
<td><span>11</span></td> | ||
</tr> | ||
</tbody> | ||
</table></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<pre class="scrollable-container"><code class="language-markup"><table class="chaarts radar-multiple" id="radar-multiple" style="--scale: 20; --step: 5; --items: 7; --areas: 2;"> | ||
<caption id="caption-9">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--color: var(--chaarts-purple); --1: 14; --2: 11; --3: 13; --4: 16; --5: 14; --6: 10; --7: 4; --8: var(--1);"> | ||
<th scope="row">Gaël</th> | ||
<td><span>14</span></td> | ||
</tr> | ||
<tr style="-color: var(--chaarts-pink); --1: 18; --2: 10; --3: 11; --4: 16; --5: 10; --6: 12; --7: 11; --8: var(--1);"> | ||
<th scope="row">Luc</th> | ||
<td><span>18</span></td> | ||
</tr> | ||
</tbody> | ||
<caption id="caption-9">[…]</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">[…]</th> | ||
<th scope="col">[…]</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr style="--color: var(--chaarts-purple); --1: 14; --2: 11; --3: 13; --4: 16; --5: 14; --6: 10; --7: 4; --8: var(--1);"> | ||
<th scope="row">Gaël</th> | ||
<td><span>14</span></td> | ||
</tr> | ||
<tr style="-color: var(--chaarts-pink); --1: 18; --2: 10; --3: 11; --4: 16; --5: 10; --6: 12; --7: 11; --8: var(--1);"> | ||
<th scope="row">Luc</th> | ||
<td><span>18</span></td> | ||
</tr> | ||
</tbody> | ||
</table></code></pre> |
Oops, something went wrong.