Created
April 13, 2019 12:59
-
-
Save samueleresca/8cf7e73c909a59427c262f3604198502 to your computer and use it in GitHub Desktop.
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
open XPlot.Plotly | |
songLyrics | |
|> Seq.map(fun row -> row.Genre) | |
|> Seq.countBy id |> Seq.toList | |
|> Chart.Pie | |
|> Chart.WithTitle "Dataset by Genre" | |
|> Chart.WithLegend true | |
songLyrics | |
|> Seq.map(fun row -> row.Year) | |
|> Seq.countBy id |> Seq.toList | |
|> Chart.Pie | |
|> Chart.WithTitle "Dataset by Year" | |
|> Chart.WithLegend true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment