This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
generated from code4policy/dataviz-with-gpt
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 changed file
with
16 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
body { | ||
font-family: 'Arial', sans-serif; | ||
margin: 20px; | ||
background-color: #f2f2f2; /* Light grey background */ | ||
/* Styles for the bar chart */ | ||
.bar { | ||
fill: steelblue; | ||
} | ||
|
||
#chart-container { | ||
width: 800px; | ||
margin: 20px auto; | ||
.bar:hover { | ||
fill: lightpink; | ||
} | ||
|
||
h1 { | ||
font-size: 32px; /* Bigger font size */ | ||
font-weight: bold; /* Bold */ | ||
text-align: center; | ||
.axis-label { | ||
font-size: 14px; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
/* Darker pink for bars */ | ||
rect { | ||
fill: #ff6699; | ||
.axis path, | ||
.axis line { | ||
fill: none; | ||
stroke: black; | ||
shape-rendering: crispEdges; | ||
} | ||
|
||
/* Black text for labels */ | ||
text { | ||
fill: black; | ||
} | ||
/* Adding light grey background */ | ||
body { | ||
background-color: #f0f0f0; /* Light grey color */ |