Generates svg graph.