D3 Heartbeat animation

Hi everybody!

I’ve did a simple D3 heartbeat in a angularjs directive, so, if you change the state from online to offline and vice-versa, the graphic will be updated, if you change the div width, the graphic will be updated to fit the div size too (if it be responsive)

See the Pen GNMoWK by Irineu Antunes (@irineu) on CodePen.0

 

Leave a Reply

Your email address will not be published. Required fields are marked *