Skip to content

fergustaylor/bnf-interactions

Repository files navigation

BNF Interactions

A dedicated repository for work I started in D3. A project visualising BNF Interaction data.

It contains all the code to collect your own BNF Interactions data, reconstruct the same graphics, or for you to create your own.

This data is currently collected periodically, with the last update listed on the left-hand corner of any graphics.

© NICE 2018. BNF Interactions. Available from https://bnf.nice.org.uk/interaction/ All rights reserved. Subject to Notice of rights. NICE guidance is prepared for the National Health Service in England. All NICE guidance is subject to regular review and may be updated or withdrawn. NICE accepts no responsibility for the use of its content in this product/publication.

The main graphic I've used in 'Build my Graph' and 'top 100' is based on the work of Mike Bostock, creator of D3.js and the original graph is shown here. You can find a fantastic version of this as an observable notebook here. This in turn, is a D3.js implementation of Danny Holten's hierarchical edge bundling algorithm.

Top 100

Custom Selection ('Build my graph')

You can read a post about how I wrote the above code, including notice of the NICE copyright license here.