Starting off in karts, Dani won the Catalonian district of the Spanish ICA Junior Championship in 2001, aged 13. A year later he won the Copa Campeones Trophy also finishing tenth in the Italian Open Masters, up against the likes of Nico Hulkenberg and Sebastien Buemi.
In 2003, he won both the prestigious Andrea Margutti Trophy and the Spanish ICA Junior Championship, while also finishing sixth in the Italian Open Masters and eleventh in the European Championship.
In 2004, while moving up to Formula A he also contested the Formula Junior 1600 series in Spain. Finishing thirty-sixth in the Formula A European Championship, with a single point, he opted to end his career in karts and focus fully on single-seaters. He adapted well to the Formula Junior 1600 Championship finishing the season fourth overall with one win and four podiums.
After the one season in 1600 Formula Junior, for 2005 Dani moved up to the Eurocup Formula Renault 2.0 and the Italian Formula Renault Championship. While he struggled in the pan-European championship, failing to record a finish inside the top ten, he was slightly more successful in the Italian series despite missing three races due to Eurocup commitments and eventually finishing sixteenth in the championship.
He remained in both series for 2006, but moved to Jenzer Motorsport, having driven for Pons Racing in the Eurocup and Facondini Racing in the Italian series the previous year.
His European campaign saw him finish seventh overall, winning three races, second only to champion Filipe Albuquerque's tally of four. In the Italian championship, Dani got off to a steady start, however, in the second half of the season he was a man on a mission taking a number of double-victories and winning the championship by 36 points.
For 2007, Dani moved up to the Formula Three Euroseries, in which he drove for Signature-Plus. He had a solid, yet unspectacular first season finishing thirteenth overall, his best result being fourth in the infamous race at Barcelona.
He remained in the series for 2008 but now switched to Prema Powerteam. Nonetheless, he could only mange fourteenth overall, scoring only six points-scoring finishes during the season, two of which were podium finishes at Pau.
2009 saw Dani contest two rounds of the Formula Renault 3.5 Series with Epsilon Euskadi, replacing Adrian Valles who was busy driving the Liverpool FC car in Superleague.
Having previously tested for both the GP2 Series, Dani was signed by Racing Engineering for the team for the 2009 main series, finishing twenty-first overall on four points.
Over the winter he contested two rounds of the GP2 Asia Series with Trident Racing, returning to the main series with Racing Engineering for 2010. Dani became a regular podium contender, scoring points in every round, taking his first win in the Sprint Race at Istanbul. At Spa he suffered a compressed vertebra in a collision at the start of the feature race, and did not take part in the sprint race. Nonetheless, he ended the season fourth overall.
Having contested the depleted GP2 Asia series with Racing Engineering, Dani remained with the Spanish outfit for the main series in 2011. Though a regular points scorer, there were no wins, his best results being a brace of seconds (Barcelona and Silverstone) leaving the youngster ninth overall.
In terms of Formula One, Dani tested for Williams at Jerez in September 2008, enjoying a second outing with the Grove outfit - at the same circuit - three months later.
In November 2011, he did a day's testing with HRT, completing 68 laps on his way to posting the twelfth best time of the day.
On 13 February 2012, Dani was confirmed as HRT's test and reserve driver, assured that he will take part in a number of Friday morning sessions over the course of the year.