Easily make project burndown charts (avh4/burndown-charts 1.0.0)

I just published a new package that makes it easy to make project burndown charts:
https://package.elm-lang.org/packages/avh4/burndown-charts/latest/

(It’s built on top of terezka/line-charts – thanks, terezka!)

Here’s what it looks like (animated to show how you might update a project over time):

And here’s an example of the code:

import BurndownChart
import Time exposing (Month(..))

main : Html msg
main = 
    BurndownChart.view
        { name = "MVP"
        , color = Just BurndownChart.blue
        , startDate = ( 2019, Apr, 9 )
        , baseline =
            ( ( 2019, Apr, 17 )
            , BurndownChart.targetDate ( 2019, May, 14 )
            )
        , milestones =
            [ ( "🐣", 21, Just ( 2019, Apr, 23 ) )
            , ( "📝", 14, Just ( 2019, Apr, 30 ) )
            , ( "\u{1F57A}", 12, Just ( 2019, May, 1 ) )
            , ( "🏛", 0, Nothing )
            ]
        , pointsRemaining = [ 8, 8, 7, 7, 7, 24, 24, 24, 24, 24, 21, 21, 20, 22, 22, 14, 12, 11, 11, 11, 10, 8, 8, 8, 8, 8, 8, 7, 1 ]
        }
6 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.