You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
715 B
33 lines
715 B
circle {
|
|
r:5;
|
|
fill: black;
|
|
/* transitions to make growing and changing color look nice */
|
|
transition: r 0.5s linear, fill 0.5s linear;
|
|
}
|
|
#container {
|
|
overflow: visible; /* make sure axes are visible */
|
|
margin-bottom: 50px; /* space below graph so table doesn't overlap */
|
|
}
|
|
body {
|
|
/* move graph away from edge of screen */
|
|
margin: 20px 40px;
|
|
}
|
|
table, th, td {
|
|
/* make table cell borders visible */
|
|
border: 1px solid black;
|
|
}
|
|
th, td {
|
|
/* make table cels look better */
|
|
padding:10px;
|
|
text-align: center;
|
|
}
|
|
/* hover state for circles */
|
|
circle:hover {
|
|
r:10;
|
|
fill: blue;
|
|
}
|
|
/* styles for circles when you click on them */
|
|
circle:active {
|
|
fill: red;
|
|
}
|